From 44dff8c7963da2c15ff7a900a17b00b159c7cca5 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Mon, 16 Sep 2024 19:43:37 +0530 Subject: [PATCH 01/18] Adding Operation Id as required by PS --- .../SAPVirtualInstance.tsp | 8 +++++ ...InvokeAvailabilityZoneDetails_eastus.json} | 2 +- ...eAvailabilityZoneDetails_northeurope.json} | 2 +- ...ces_InvokeDiskConfigurations_NonProd.json} | 2 +- ...tances_InvokeDiskConfigurations_Prod.json} | 2 +- ...es_InvokeSapSupportedSku_Distributed.json} | 2 +- ...eSapSupportedSku_DistributedHA_AvSet.json} | 2 +- ...SapSupportedSku_DistributedHA_AvZone.json} | 2 +- ...s_InvokeSapSupportedSku_SingleServer.json} | 2 +- ...ngRecommendations_S4HANA_Distributed.json} | 2 +- ...izingRecommendations_S4HANA_HA_AvSet.json} | 2 +- ...zingRecommendations_S4HANA_HA_AvZone.json} | 2 +- ...gRecommendations_S4HANA_SingleServer.json} | 2 +- .../stable/2024-09-01/SAPVirtualInstance.json | 32 +++++++++---------- ...InvokeAvailabilityZoneDetails_eastus.json} | 2 +- ...eAvailabilityZoneDetails_northeurope.json} | 2 +- ...ces_InvokeDiskConfigurations_NonProd.json} | 2 +- ...tances_InvokeDiskConfigurations_Prod.json} | 2 +- ...es_InvokeSapSupportedSku_Distributed.json} | 2 +- ...eSapSupportedSku_DistributedHA_AvSet.json} | 2 +- ...SapSupportedSku_DistributedHA_AvZone.json} | 2 +- ...s_InvokeSapSupportedSku_SingleServer.json} | 2 +- ...ngRecommendations_S4HANA_Distributed.json} | 2 +- ...izingRecommendations_S4HANA_HA_AvSet.json} | 2 +- ...zingRecommendations_S4HANA_HA_AvZone.json} | 2 +- ...gRecommendations_S4HANA_SingleServer.json} | 2 +- 26 files changed, 48 insertions(+), 40 deletions(-) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json => SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json} (87%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json => SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json} (87%) rename specification/workloads/{resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json => Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json} (99%) rename specification/workloads/{resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json => Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_Prod.json} (99%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetSapSupportedSku_Distributed.json => SapVirtualInstances_InvokeSapSupportedSku_Distributed.json} (98%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json => SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json} (98%) rename specification/workloads/{resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json => Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json} (97%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetSapSupportedSku_SingleServer.json => SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json} (94%) rename specification/workloads/{resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json => Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json} (92%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json => SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json} (92%) rename specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/{SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json => SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json} (92%) rename specification/workloads/{resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json => Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json} (90%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json => SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json} (87%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json => SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json} (87%) rename specification/workloads/{Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json => resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json} (99%) rename specification/workloads/{Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json => resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_Prod.json} (99%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetSapSupportedSku_Distributed.json => SapVirtualInstances_InvokeSapSupportedSku_Distributed.json} (98%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json => SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json} (98%) rename specification/workloads/{Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json => resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json} (97%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetSapSupportedSku_SingleServer.json => SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json} (94%) rename specification/workloads/{Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json => resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json} (92%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json => SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json} (92%) rename specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/{SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json => SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json} (92%) rename specification/workloads/{Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json => resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json} (90%) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index ac3b48548eac..20f82b6319a8 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -86,6 +86,8 @@ interface SAPVirtualInstances { /** * Gets the sizing recommendations. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Added Operation ID as it determines the PowerShell verb used." + @operationId("SapVirtualInstances_InvokeSizingRecommendations") getSizingRecommendations is VirtualResourceActionSync< SAPVirtualInstanceMetadata, SAPSizingRecommendationRequest, @@ -95,6 +97,8 @@ interface SAPVirtualInstances { /** * Get a list of SAP supported SKUs for ASCS, Application and Database tier. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Added Operation ID as it determines the PowerShell verb used." + @operationId("SapVirtualInstances_InvokeSapSupportedSku") getSapSupportedSku is VirtualResourceActionSync< SAPVirtualInstanceMetadata, SAPSupportedSkusRequest, @@ -104,6 +108,8 @@ interface SAPVirtualInstances { /** * Get the SAP Disk Configuration Layout prod/non-prod SAP System. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Added Operation ID as it determines the PowerShell verb used." + @operationId("SapVirtualInstances_InvokeDiskConfigurations") getDiskConfigurations is VirtualResourceActionSync< SAPVirtualInstanceMetadata, SAPDiskConfigurationsRequest, @@ -113,6 +119,8 @@ interface SAPVirtualInstances { /** * Get the recommended SAP Availability Zone Pair Details for your region. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Added Operation ID as it determines the PowerShell verb used." + @operationId("SapVirtualInstances_InvokeAvailabilityZoneDetails") getAvailabilityZoneDetails is VirtualResourceActionSync< SAPVirtualInstanceMetadata, SAPAvailabilityZoneDetailsRequest, diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json similarity index 87% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json index 74cea9033f66..eb05bff72981 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json @@ -21,6 +21,6 @@ } } }, - "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", "title": "SAP Availability zone details in east us" } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json similarity index 87% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json index 80a4687a70cb..e1cad0d59366 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json @@ -21,6 +21,6 @@ } } }, - "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", "title": "SAP Availability zone details in north europe" } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json similarity index 99% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json index f46c7b7b19d3..1c0b608f09ab 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json @@ -394,6 +394,6 @@ } } }, - "operationId": "SapVirtualInstances_GetDiskConfigurations", + "operationId": "SapVirtualInstances_InvokeDiskConfigurations", "title": "SAP disk configurations for input environment NonProd." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_Prod.json similarity index 99% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_Prod.json index ddedd6c7439a..b5707c630b67 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeDiskConfigurations_Prod.json @@ -251,6 +251,6 @@ } } }, - "operationId": "SapVirtualInstances_GetDiskConfigurations", + "operationId": "SapVirtualInstances_InvokeDiskConfigurations", "title": "SAP disk configurations for input environment Prod." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json similarity index 98% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json index 2fb1797f38e3..45207343c416 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json @@ -109,6 +109,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for distributed Non HA environment." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json similarity index 98% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json index 2b3e3084b9bc..7867c24d96b8 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json @@ -110,6 +110,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for distributed HA environment with Availability set." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json similarity index 97% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json index a93c6a800cb8..54f40b213368 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json @@ -90,6 +90,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported Skus for HA with availability zone." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json similarity index 94% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json index e2f229190732..72a175b2fa7c 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json @@ -39,6 +39,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for single server." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json similarity index 92% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json index 8b1904344d0c..7dc2d2c6fec6 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json @@ -27,6 +27,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for non HA distributed system." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json similarity index 92% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json index 2bbf4abd5ba4..b6a83fa889a4 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json @@ -28,6 +28,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for HA with availability set." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json similarity index 92% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json index c0c92f394636..af952181b4c5 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json @@ -28,6 +28,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for HA with availability zone." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json similarity index 90% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json rename to specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json index d55925c9a9e9..5a87168abd9c 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json @@ -22,6 +22,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for single server." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index a7dd2f5d8bd2..a5c773363db5 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -55,7 +55,7 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { "post": { - "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", "tags": [ "SAPVirtualInstances" ], @@ -96,17 +96,17 @@ }, "x-ms-examples": { "SAP Availability zone details in east us": { - "$ref": "./examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json" + "$ref": "./examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json" }, "SAP Availability zone details in north europe": { - "$ref": "./examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json" + "$ref": "./examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations": { "post": { - "operationId": "SapVirtualInstances_GetDiskConfigurations", + "operationId": "SapVirtualInstances_InvokeDiskConfigurations", "tags": [ "SAPVirtualInstances" ], @@ -147,17 +147,17 @@ }, "x-ms-examples": { "SAP disk configurations for input environment NonProd.": { - "$ref": "./examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json" + "$ref": "./examples/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json" }, "SAP disk configurations for input environment Prod.": { - "$ref": "./examples/SapVirtualInstances_GetDiskConfigurations_Prod.json" + "$ref": "./examples/SapVirtualInstances_InvokeDiskConfigurations_Prod.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku": { "post": { - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "tags": [ "SAPVirtualInstances" ], @@ -198,23 +198,23 @@ }, "x-ms-examples": { "SAP supported SKUs for distributed HA environment with Availability set.": { - "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json" + "$ref": "./examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json" }, "SAP supported SKUs for distributed Non HA environment.": { - "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json" + "$ref": "./examples/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json" }, "SAP supported SKUs for single server.": { - "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json" + "$ref": "./examples/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json" }, "SAP supported Skus for HA with availability zone.": { - "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json" + "$ref": "./examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations": { "post": { - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "tags": [ "SAPVirtualInstances" ], @@ -255,16 +255,16 @@ }, "x-ms-examples": { "SAP sizing recommendations for HA with availability set.": { - "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json" + "$ref": "./examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json" }, "SAP sizing recommendations for HA with availability zone.": { - "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json" + "$ref": "./examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json" }, "SAP sizing recommendations for non HA distributed system.": { - "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json" + "$ref": "./examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json" }, "SAP sizing recommendations for single server.": { - "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json" + "$ref": "./examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json" } } } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json similarity index 87% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json index 74cea9033f66..eb05bff72981 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_eastus.json @@ -21,6 +21,6 @@ } } }, - "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", "title": "SAP Availability zone details in east us" } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json similarity index 87% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json index 80a4687a70cb..e1cad0d59366 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeAvailabilityZoneDetails_northeurope.json @@ -21,6 +21,6 @@ } } }, - "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", "title": "SAP Availability zone details in north europe" } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json similarity index 99% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json index f46c7b7b19d3..1c0b608f09ab 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_NonProd.json @@ -394,6 +394,6 @@ } } }, - "operationId": "SapVirtualInstances_GetDiskConfigurations", + "operationId": "SapVirtualInstances_InvokeDiskConfigurations", "title": "SAP disk configurations for input environment NonProd." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_Prod.json similarity index 99% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_Prod.json index ddedd6c7439a..b5707c630b67 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeDiskConfigurations_Prod.json @@ -251,6 +251,6 @@ } } }, - "operationId": "SapVirtualInstances_GetDiskConfigurations", + "operationId": "SapVirtualInstances_InvokeDiskConfigurations", "title": "SAP disk configurations for input environment Prod." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json similarity index 98% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json index 2fb1797f38e3..45207343c416 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_Distributed.json @@ -109,6 +109,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for distributed Non HA environment." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json similarity index 98% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json index 2b3e3084b9bc..7867c24d96b8 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvSet.json @@ -110,6 +110,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for distributed HA environment with Availability set." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json similarity index 97% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json index a93c6a800cb8..54f40b213368 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_DistributedHA_AvZone.json @@ -90,6 +90,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported Skus for HA with availability zone." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json similarity index 94% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json index e2f229190732..72a175b2fa7c 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSapSupportedSku_SingleServer.json @@ -39,6 +39,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSapSupportedSku", + "operationId": "SapVirtualInstances_InvokeSapSupportedSku", "title": "SAP supported SKUs for single server." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json similarity index 92% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json index 8b1904344d0c..7dc2d2c6fec6 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_Distributed.json @@ -27,6 +27,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for non HA distributed system." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json similarity index 92% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json index 2bbf4abd5ba4..b6a83fa889a4 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvSet.json @@ -28,6 +28,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for HA with availability set." } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json similarity index 92% rename from specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json index c0c92f394636..af952181b4c5 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_HA_AvZone.json @@ -28,6 +28,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for HA with availability zone." } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json similarity index 90% rename from specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json rename to specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json index d55925c9a9e9..5a87168abd9c 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_InvokeSizingRecommendations_S4HANA_SingleServer.json @@ -22,6 +22,6 @@ } } }, - "operationId": "SapVirtualInstances_GetSizingRecommendations", + "operationId": "SapVirtualInstances_InvokeSizingRecommendations", "title": "SAP sizing recommendations for single server." } From a9b7a87dd86d70ccdf340e08b0e1207dea57cd1e Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Mon, 7 Oct 2024 17:46:12 +0530 Subject: [PATCH 02/18] adding .NET SDK support --- .../Workloads.SAPVirtualInstance.Management/tspconfig.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index 78a474392441..3d4804ebf38d 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -10,6 +10,12 @@ options: # `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 output-file: "{azure-resource-provider-folder}/{service-name}/SAPVirtualInstance/{version-status}/{version}/SAPVirtualInstance.json" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.Workloads.SAPVirtualInstance" + clear-output-folder: true + model-namespace: false + namespace: "{package-dir}" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From 326b19797cde6c486150a39e753e4bbf1d2fe845 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Sun, 20 Oct 2024 16:28:50 +0530 Subject: [PATCH 03/18] adding operation and dotnet --- .../examples/2024-09-01/Operations_List.json | 1105 +++++++++++++++++ .../main.tsp | 1 + .../stable/2024-09-01/SAPVirtualInstance.json | 39 + .../2024-09-01/examples/Operations_List.json | 1105 +++++++++++++++++ 4 files changed, 2250 insertions(+) create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp index 9bcea1409344..f9525e505995 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -15,6 +15,7 @@ import "./SAPDatabaseInstance.tsp"; import "./SAPApplicationServerInstance.tsp"; import "./SAPVirtualInstanceMetadata.tsp"; import "./custom.tsp"; +import "../Workloads.Operations.Management/models.tsp"; using Azure.Core; using Azure.ResourceManager; diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index a5c773363db5..da2ca2bb2218 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -50,9 +50,48 @@ }, { "name": "SAPApplicationServerInstances" + }, + { + "name": "Operations" } ], "paths": { + "/providers/Microsoft.Workloads/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": { + "List the operations for the provider.": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { "post": { "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} From 2b5f30074b1862caef0c282a0c63fe25fdd403b2 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 23 Oct 2024 11:27:59 +0530 Subject: [PATCH 04/18] Revert "adding operation and dotnet" This reverts commit 326b19797cde6c486150a39e753e4bbf1d2fe845. --- .../examples/2024-09-01/Operations_List.json | 1105 ----------------- .../main.tsp | 1 - .../stable/2024-09-01/SAPVirtualInstance.json | 39 - .../2024-09-01/examples/Operations_List.json | 1105 ----------------- 4 files changed, 2250 deletions(-) delete mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json deleted file mode 100644 index 8bf8d1285ed6..000000000000 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "parameters": { - "api-version": "2024-09-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Workloads/RegisteredSubscriptions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "RegisteredSubscriptions", - "operation": "Gets/Lists registered subscriptions", - "description": "Reads registered subscriptions" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_List", - "description": "Lists WordpressInstances resources under a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Get", - "description": "Gets a WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_CreateOrUpdate", - "description": "Create or updated WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Delete", - "description": "Delete WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/skus/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Skus", - "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", - "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" - } - }, - { - "name": "Microsoft.Workloads/Operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Operations", - "operation": "read_Operations", - "description": "read Operations" - } - }, - { - "name": "Microsoft.Workloads/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Register the Microsoft.Workloads", - "description": "Register the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Unregister the Microsoft.Workloads", - "description": "Unregister the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "read_OperationStatuses", - "description": "read OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "write_OperationStatuses", - "description": "write OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListBySubscription", - "description": "Lists phpWorkload resources in a subscription" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListByResourceGroup", - "description": "Lists phpWorkload resources in a resource group" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Get", - "description": "Gets a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_CreateOrUpdate", - "description": "Create or updated phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Delete", - "description": "Delete phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Update", - "description": "Update PHP workload resource." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Get", - "description": "Gets the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Create", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Delete", - "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Update", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_List", - "description": "Lists the SAP Application server Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StartInstance", - "description": "Starts the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StopInstance", - "description": "Stops the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Get", - "description": "Gets the SAP Central Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Create", - "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Delete", - "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Update", - "description": "Updates the SAP Central Instance.

This can be used to update tags." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_List", - "description": "Lists the SAP Central Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StartInstance", - "description": "Starts the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StopInstance", - "description": "Stops the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Get", - "description": "Gets the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Create", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Delete", - "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Update", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_List", - "description": "Lists the SAP Database Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StartInstance", - "description": "Starts the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StopInstance", - "description": "Stops the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_List", - "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_ListByResourceGroup", - "description": "Gets a list of SAP monitors in the specified resource group." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Get", - "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Create", - "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Delete", - "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Update", - "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_List", - "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Get", - "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Create", - "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Delete", - "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_List", - "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Create", - "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Delete", - "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_List", - "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_List", - "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Get", - "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Create", - "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Delete", - "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Get", - "description": "Gets an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Create", - "description": "Creates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Delete", - "description": "Deletes an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Update", - "description": "Updates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListByResourceGroup", - "description": "Gets all SAP Virtual Instances in a resource group." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListBySubscription", - "description": "Gets all SAP Virtual Instances in the subscription." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Start", - "description": "Starts the SAP System." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Stop", - "description": "Stops the SAP System." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSizingRecommendations", - "description": "Get SAP sizing recommendations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSupportedSku", - "description": "Get SAP supported SKUs." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPDiskConfigurations", - "description": "Get SAP Disk Configurations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPAvailabilityZoneDetails", - "description": "Get SAP Availability Zone Details." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Get", - "description": "Gets a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Create", - "description": "Creates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Delete", - "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Update", - "description": "Updates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListByResourceGroup", - "description": "Gets all connector resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListBySubscription", - "description": "Gets all connector resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Get", - "description": "Gets the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Create", - "description": "Creates the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Delete", - "description": "Deletes the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Update", - "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_List", - "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Get", - "description": "Gets the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Create", - "description": "Creates the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Delete", - "description": "Deletes the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Update", - "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_List", - "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Get", - "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_ListByResourceGroup", - "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_List", - "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Create", - "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Delete", - "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Update", - "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Get", - "description": "Gets a SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Create", - "description": "Creates a discovery site for SAP Migration." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Delete", - "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Update", - "description": "SAPDiscoverySites_Update." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListByResourceGroup", - "description": "Gets all SAP Migration discovery site resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListBySubscription", - "description": "Gets all SAP Migration discovery site resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ImportEntities", - "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Get", - "description": "Gets the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Create", - "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Delete", - "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Update", - "description": "Updates the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_List", - "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Get", - "description": "Gets the Server Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Create", - "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Delete", - "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Update", - "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_List", - "description": "Lists the Server Instance resources for the given SAP Instance resource." - } - } - ] - } - } - }, - "operationId": "Operations_List", - "title": "List the operations for the provider." -} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp index f9525e505995..9bcea1409344 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -15,7 +15,6 @@ import "./SAPDatabaseInstance.tsp"; import "./SAPApplicationServerInstance.tsp"; import "./SAPVirtualInstanceMetadata.tsp"; import "./custom.tsp"; -import "../Workloads.Operations.Management/models.tsp"; using Azure.Core; using Azure.ResourceManager; diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index da2ca2bb2218..a5c773363db5 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -50,48 +50,9 @@ }, { "name": "SAPApplicationServerInstances" - }, - { - "name": "Operations" } ], "paths": { - "/providers/Microsoft.Workloads/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": { - "List the operations for the provider.": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { "post": { "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json deleted file mode 100644 index 8bf8d1285ed6..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "parameters": { - "api-version": "2024-09-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Workloads/RegisteredSubscriptions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "RegisteredSubscriptions", - "operation": "Gets/Lists registered subscriptions", - "description": "Reads registered subscriptions" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_List", - "description": "Lists WordpressInstances resources under a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Get", - "description": "Gets a WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_CreateOrUpdate", - "description": "Create or updated WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Delete", - "description": "Delete WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/skus/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Skus", - "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", - "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" - } - }, - { - "name": "Microsoft.Workloads/Operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Operations", - "operation": "read_Operations", - "description": "read Operations" - } - }, - { - "name": "Microsoft.Workloads/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Register the Microsoft.Workloads", - "description": "Register the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Unregister the Microsoft.Workloads", - "description": "Unregister the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "read_OperationStatuses", - "description": "read OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "write_OperationStatuses", - "description": "write OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListBySubscription", - "description": "Lists phpWorkload resources in a subscription" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListByResourceGroup", - "description": "Lists phpWorkload resources in a resource group" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Get", - "description": "Gets a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_CreateOrUpdate", - "description": "Create or updated phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Delete", - "description": "Delete phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Update", - "description": "Update PHP workload resource." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Get", - "description": "Gets the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Create", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Delete", - "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Update", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_List", - "description": "Lists the SAP Application server Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StartInstance", - "description": "Starts the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StopInstance", - "description": "Stops the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Get", - "description": "Gets the SAP Central Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Create", - "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Delete", - "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Update", - "description": "Updates the SAP Central Instance.

This can be used to update tags." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_List", - "description": "Lists the SAP Central Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StartInstance", - "description": "Starts the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StopInstance", - "description": "Stops the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Get", - "description": "Gets the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Create", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Delete", - "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Update", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_List", - "description": "Lists the SAP Database Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StartInstance", - "description": "Starts the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StopInstance", - "description": "Stops the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_List", - "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_ListByResourceGroup", - "description": "Gets a list of SAP monitors in the specified resource group." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Get", - "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Create", - "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Delete", - "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Update", - "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_List", - "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Get", - "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Create", - "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Delete", - "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_List", - "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Create", - "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Delete", - "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_List", - "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_List", - "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Get", - "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Create", - "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Delete", - "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Get", - "description": "Gets an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Create", - "description": "Creates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Delete", - "description": "Deletes an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Update", - "description": "Updates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListByResourceGroup", - "description": "Gets all SAP Virtual Instances in a resource group." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListBySubscription", - "description": "Gets all SAP Virtual Instances in the subscription." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Start", - "description": "Starts the SAP System." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Stop", - "description": "Stops the SAP System." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSizingRecommendations", - "description": "Get SAP sizing recommendations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSupportedSku", - "description": "Get SAP supported SKUs." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPDiskConfigurations", - "description": "Get SAP Disk Configurations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPAvailabilityZoneDetails", - "description": "Get SAP Availability Zone Details." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Get", - "description": "Gets a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Create", - "description": "Creates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Delete", - "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Update", - "description": "Updates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListByResourceGroup", - "description": "Gets all connector resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListBySubscription", - "description": "Gets all connector resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Get", - "description": "Gets the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Create", - "description": "Creates the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Delete", - "description": "Deletes the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Update", - "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_List", - "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Get", - "description": "Gets the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Create", - "description": "Creates the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Delete", - "description": "Deletes the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Update", - "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_List", - "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Get", - "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_ListByResourceGroup", - "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_List", - "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Create", - "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Delete", - "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Update", - "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Get", - "description": "Gets a SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Create", - "description": "Creates a discovery site for SAP Migration." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Delete", - "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Update", - "description": "SAPDiscoverySites_Update." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListByResourceGroup", - "description": "Gets all SAP Migration discovery site resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListBySubscription", - "description": "Gets all SAP Migration discovery site resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ImportEntities", - "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Get", - "description": "Gets the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Create", - "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Delete", - "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Update", - "description": "Updates the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_List", - "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Get", - "description": "Gets the Server Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Create", - "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Delete", - "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Update", - "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_List", - "description": "Lists the Server Instance resources for the given SAP Instance resource." - } - } - ] - } - } - }, - "operationId": "Operations_List", - "title": "List the operations for the provider." -} From 5bb2b340a88bc6c87d50b1772d66b925ce45d89f Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Fri, 25 Oct 2024 10:49:35 +0530 Subject: [PATCH 05/18] change of csharp package --- .../Workloads.SAPVirtualInstance.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index cb4c49919275..9e4f0788080c 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -15,7 +15,7 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/SAPVirtualInstance/{version-status}/{version}/SAPVirtualInstance.json" "@azure-tools/typespec-csharp": flavor: azure - package-dir: "Azure.Workloads.SAPVirtualInstance" + package-dir: "Azure.ResourceManager.SapVirtualInstances" clear-output-folder: true model-namespace: false namespace: "{package-dir}" From 3d950c16f37b412b293569f398a37bfe370dfb38 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Fri, 25 Oct 2024 12:14:38 +0530 Subject: [PATCH 06/18] Reapply "adding operation and dotnet" This reverts commit 2b5f30074b1862caef0c282a0c63fe25fdd403b2. --- .../examples/2024-09-01/Operations_List.json | 1105 +++++++++++++++++ .../main.tsp | 1 + .../stable/2024-09-01/SAPVirtualInstance.json | 39 + .../2024-09-01/examples/Operations_List.json | 1105 +++++++++++++++++ 4 files changed, 2250 insertions(+) create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp index 9bcea1409344..f9525e505995 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -15,6 +15,7 @@ import "./SAPDatabaseInstance.tsp"; import "./SAPApplicationServerInstance.tsp"; import "./SAPVirtualInstanceMetadata.tsp"; import "./custom.tsp"; +import "../Workloads.Operations.Management/models.tsp"; using Azure.Core; using Azure.ResourceManager; diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index a5c773363db5..da2ca2bb2218 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -50,9 +50,48 @@ }, { "name": "SAPApplicationServerInstances" + }, + { + "name": "Operations" } ], "paths": { + "/providers/Microsoft.Workloads/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": { + "List the operations for the provider.": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { "post": { "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} From 097d78e5a62e09626acd78fccf8722a18428e503 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 30 Oct 2024 15:08:36 +0530 Subject: [PATCH 07/18] Change to UserAssignIdentity --- .../SAPVirtualInstance.tsp | 7 ++++++- .../Workloads.SAPVirtualInstance.Management/models.tsp | 2 +- .../stable/2024-09-01/SAPVirtualInstance.json | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 20f82b6319a8..92944faefe12 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -17,7 +17,12 @@ model SAPVirtualInstance is TrackedResource { SegmentName = "sapVirtualInstances", NamePattern = "^[a-zA-Z][a-zA-Z0-9]{2}$" >; - ...Azure.ResourceManager.ManagedServiceIdentityProperty; + + /** + * The identity of the Virtual Instance for SAP solutions resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" + identity?: CommonTypes.UserAssignedIdentity; } #suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index fe6eabe6655b..545336453d45 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -1015,7 +1015,7 @@ model UpdateSAPVirtualInstanceRequest { /** * Managed service identity (user assigned identities) */ - identity?: CommonTypes.ManagedServiceIdentity; + identity?: CommonTypes.UserAssignedIdentity; /** * The update properties. diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index da2ca2bb2218..fff17b682911 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -4376,8 +4376,8 @@ "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." + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", + "description": "The identity of the Virtual Instance for SAP solutions resource." } }, "allOf": [ @@ -5119,7 +5119,7 @@ } }, "identity": { - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", "description": "Managed service identity (user assigned identities)" }, "properties": { From 0d7f197e962aa0a8e2b2334df9ec00299b212dbb Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 30 Oct 2024 21:06:24 +0530 Subject: [PATCH 08/18] Revert "Change to UserAssignIdentity" This reverts commit 097d78e5a62e09626acd78fccf8722a18428e503. --- .../SAPVirtualInstance.tsp | 7 +------ .../Workloads.SAPVirtualInstance.Management/models.tsp | 2 +- .../stable/2024-09-01/SAPVirtualInstance.json | 6 +++--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 92944faefe12..20f82b6319a8 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -17,12 +17,7 @@ model SAPVirtualInstance is TrackedResource { SegmentName = "sapVirtualInstances", NamePattern = "^[a-zA-Z][a-zA-Z0-9]{2}$" >; - - /** - * The identity of the Virtual Instance for SAP solutions resource. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" - identity?: CommonTypes.UserAssignedIdentity; + ...Azure.ResourceManager.ManagedServiceIdentityProperty; } #suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index 545336453d45..fe6eabe6655b 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -1015,7 +1015,7 @@ model UpdateSAPVirtualInstanceRequest { /** * Managed service identity (user assigned identities) */ - identity?: CommonTypes.UserAssignedIdentity; + identity?: CommonTypes.ManagedServiceIdentity; /** * The update properties. diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index fff17b682911..da2ca2bb2218 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -4376,8 +4376,8 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", - "description": "The identity of the Virtual Instance for SAP solutions resource." + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." } }, "allOf": [ @@ -5119,7 +5119,7 @@ } }, "identity": { - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "Managed service identity (user assigned identities)" }, "properties": { From a4d7b31858edb68fc0e89ae06e6b6914a47dae48 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 30 Oct 2024 21:14:58 +0530 Subject: [PATCH 09/18] Change to UserAssignedIdentity --- .../SAPVirtualInstance.tsp | 2 +- .../models.tsp | 31 +++++++++++- .../stable/2024-09-01/SAPVirtualInstance.json | 48 ++++++++++++++++++- 3 files changed, 77 insertions(+), 4 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 20f82b6319a8..613aedf901ca 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -17,7 +17,7 @@ model SAPVirtualInstance is TrackedResource { SegmentName = "sapVirtualInstances", NamePattern = "^[a-zA-Z][a-zA-Z0-9]{2}$" >; - ...Azure.ResourceManager.ManagedServiceIdentityProperty; + ...SapVirtualInstanceIdentityProperty; } #suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index fe6eabe6655b..eaa196e0940c 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -1015,7 +1015,7 @@ model UpdateSAPVirtualInstanceRequest { /** * Managed service identity (user assigned identities) */ - identity?: CommonTypes.ManagedServiceIdentity; + identity?: SapVirtualInstanceIdentity; /** * The update properties. @@ -2497,3 +2497,32 @@ model DeployerVmPackages { */ storageAccountId?: string; } + +/** + * Managed service identity (system assigned and/or user assigned identities) + */ +model SapVirtualInstanceIdentity { + /** The type of managed identity assigned to this resource. */ + type: SapVirtualInstanceIdentityType; + + /** The identities assigned to this resource by the user. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "" + userAssignedIdentities?: Record; +} + +/** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ +union SapVirtualInstanceIdentityType { + /** User assigned managed identity. */ + UserAssigned: "UserAssigned", + + string, +} + +@doc("The managed service identities envelope.") +model SapVirtualInstanceIdentityProperty { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" + @doc("The managed service identities assigned to this resource.") + identity?: SapVirtualInstanceIdentity; +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index da2ca2bb2218..ba52225ccac7 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -4376,7 +4376,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/SapVirtualInstanceIdentity", "description": "The managed service identities assigned to this resource." } }, @@ -4625,6 +4625,50 @@ ] } }, + "SapVirtualInstanceIdentity": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "#/definitions/SapVirtualInstanceIdentityType", + "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 + } + } + }, + "required": [ + "type" + ] + }, + "SapVirtualInstanceIdentityType": { + "type": "string", + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "enum": [ + "UserAssigned" + ], + "x-ms-enum": { + "name": "SapVirtualInstanceIdentityType", + "modelAsString": true, + "values": [ + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "User assigned managed identity." + } + ] + } + }, "SapVirtualInstanceProvisioningState": { "type": "string", "description": "Defines the provisioning states.", @@ -5119,7 +5163,7 @@ } }, "identity": { - "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/SapVirtualInstanceIdentity", "description": "Managed service identity (user assigned identities)" }, "properties": { From 8f03eee243a18382ba6727bd052eabb15713b413 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Tue, 5 Nov 2024 12:52:10 +0530 Subject: [PATCH 10/18] Adding None for Identity --- .../Workloads.SAPVirtualInstance.Management/models.tsp | 7 +++++-- .../stable/2024-09-01/SAPVirtualInstance.json | 10 ++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index eaa196e0940c..198bbc268f84 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -2499,7 +2499,7 @@ model DeployerVmPackages { } /** - * Managed service identity (system assigned and/or user assigned identities) + * Managed service identity (user assigned identities) */ model SapVirtualInstanceIdentity { /** The type of managed identity assigned to this resource. */ @@ -2511,9 +2511,12 @@ model SapVirtualInstanceIdentity { } /** - * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + * Type of managed service identity (where only None and UserAssigned types are allowed). */ union SapVirtualInstanceIdentityType { + /** No managed identity. */ + None: "None", + /** User assigned managed identity. */ UserAssigned: "UserAssigned", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index ba52225ccac7..7fc1911cdabe 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -4627,7 +4627,7 @@ }, "SapVirtualInstanceIdentity": { "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", + "description": "Managed service identity (user assigned identities)", "properties": { "type": { "$ref": "#/definitions/SapVirtualInstanceIdentityType", @@ -4653,14 +4653,20 @@ }, "SapVirtualInstanceIdentityType": { "type": "string", - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "description": "Type of managed service identity (where only None and UserAssigned types are allowed).", "enum": [ + "None", "UserAssigned" ], "x-ms-enum": { "name": "SapVirtualInstanceIdentityType", "modelAsString": true, "values": [ + { + "name": "None", + "value": "None", + "description": "No managed identity." + }, { "name": "UserAssigned", "value": "UserAssigned", From b4a09a5518af9f7de631b9c4086d2bfd4d0cf0fa Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Tue, 5 Nov 2024 15:02:41 +0530 Subject: [PATCH 11/18] Change in the body name for request --- .../SAPVirtualInstance.tsp | 18 +++++++++++++++--- .../models.tsp | 6 ++++-- .../stable/2024-09-01/SAPVirtualInstance.json | 12 ++++++------ 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 613aedf901ca..28d3a4c81567 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -101,7 +101,11 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeSapSupportedSku") getSapSupportedSku is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - SAPSupportedSkusRequest, + { + @doc("The SAP Supported SKUs request body.") + @body + SapSupportedSku: SAPSupportedSkusRequest; + }, SAPSupportedResourceSkusResult >; @@ -112,7 +116,11 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeDiskConfigurations") getDiskConfigurations is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - SAPDiskConfigurationsRequest, + { + @doc("The SAP Disk Configurations request body.") + @body + SAPDiskConfigurations: SAPDiskConfigurationsRequest; + }, SAPDiskConfigurationsResult >; @@ -123,7 +131,11 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeAvailabilityZoneDetails") getAvailabilityZoneDetails is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - SAPAvailabilityZoneDetailsRequest, + { + @doc("The SAP Availability Zone Details request body.") + @body + SAPAvailabilityZoneDetails: SAPAvailabilityZoneDetailsRequest; + }, SAPAvailabilityZoneDetailsResult >; } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index 198bbc268f84..5645f8f6f084 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -2523,9 +2523,11 @@ union SapVirtualInstanceIdentityType { string, } -@doc("The managed service identities envelope.") +/** + * The managed service identities envelope.. + */ model SapVirtualInstanceIdentityProperty { + /** The managed service identities assigned to this resource. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" - @doc("The managed service identities assigned to this resource.") identity?: SapVirtualInstanceIdentity; } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index 7fc1911cdabe..fb8a25b69d49 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -110,9 +110,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "body", + "name": "SAPAvailabilityZoneDetails", "in": "body", - "description": "The content of the action request", + "description": "The SAP Availability Zone Details request body.", "required": true, "schema": { "$ref": "#/definitions/SAPAvailabilityZoneDetailsRequest" @@ -161,9 +161,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "body", + "name": "SAPDiskConfigurations", "in": "body", - "description": "The content of the action request", + "description": "The SAP Disk Configurations request body.", "required": true, "schema": { "$ref": "#/definitions/SAPDiskConfigurationsRequest" @@ -212,9 +212,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "body", + "name": "SapSupportedSku", "in": "body", - "description": "The content of the action request", + "description": "The SAP Supported SKUs request body.", "required": true, "schema": { "$ref": "#/definitions/SAPSupportedSkusRequest" From 260caaae69076fab670fd9fc17b46a64d990fbc3 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 6 Nov 2024 21:55:08 +0530 Subject: [PATCH 12/18] extending Operations in sapvirtualinstance --- .../main.tsp | 1 - .../models.tsp | 3 ++ .../stable/2024-09-01/SAPVirtualInstance.json | 39 ------------------- 3 files changed, 3 insertions(+), 40 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp index f9525e505995..9bcea1409344 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -15,7 +15,6 @@ import "./SAPDatabaseInstance.tsp"; import "./SAPApplicationServerInstance.tsp"; import "./SAPVirtualInstanceMetadata.tsp"; import "./custom.tsp"; -import "../Workloads.Operations.Management/models.tsp"; using Azure.Core; using Azure.ResourceManager; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index 5645f8f6f084..98117c404a0a 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -7,6 +7,9 @@ using Azure.ResourceManager.CommonTypes; namespace Microsoft.Workloads; +@armResourceOperations +interface Operations extends Microsoft.Workloads.Operations {} + /** * Defines the environment type - Production/Non Production. */ diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index fb8a25b69d49..00056e5fe453 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -50,48 +50,9 @@ }, { "name": "SAPApplicationServerInstances" - }, - { - "name": "Operations" } ], "paths": { - "/providers/Microsoft.Workloads/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": { - "List the operations for the provider.": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { "post": { "operationId": "SapVirtualInstances_InvokeAvailabilityZoneDetails", From 3895cf2fff1894aadc321213b1bdcdcb31e0fef0 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 6 Nov 2024 22:09:52 +0530 Subject: [PATCH 13/18] Revert "Change in the body name for request" This reverts commit b4a09a5518af9f7de631b9c4086d2bfd4d0cf0fa. --- .../SAPVirtualInstance.tsp | 18 +++--------------- .../models.tsp | 6 ++---- .../stable/2024-09-01/SAPVirtualInstance.json | 12 ++++++------ 3 files changed, 11 insertions(+), 25 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 28d3a4c81567..613aedf901ca 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -101,11 +101,7 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeSapSupportedSku") getSapSupportedSku is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - { - @doc("The SAP Supported SKUs request body.") - @body - SapSupportedSku: SAPSupportedSkusRequest; - }, + SAPSupportedSkusRequest, SAPSupportedResourceSkusResult >; @@ -116,11 +112,7 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeDiskConfigurations") getDiskConfigurations is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - { - @doc("The SAP Disk Configurations request body.") - @body - SAPDiskConfigurations: SAPDiskConfigurationsRequest; - }, + SAPDiskConfigurationsRequest, SAPDiskConfigurationsResult >; @@ -131,11 +123,7 @@ interface SAPVirtualInstances { @operationId("SapVirtualInstances_InvokeAvailabilityZoneDetails") getAvailabilityZoneDetails is VirtualResourceActionSync< SAPVirtualInstanceMetadata, - { - @doc("The SAP Availability Zone Details request body.") - @body - SAPAvailabilityZoneDetails: SAPAvailabilityZoneDetailsRequest; - }, + SAPAvailabilityZoneDetailsRequest, SAPAvailabilityZoneDetailsResult >; } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index 98117c404a0a..9caa1dccedeb 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -2526,11 +2526,9 @@ union SapVirtualInstanceIdentityType { string, } -/** - * The managed service identities envelope.. - */ +@doc("The managed service identities envelope.") model SapVirtualInstanceIdentityProperty { - /** The managed service identities assigned to this resource. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" + @doc("The managed service identities assigned to this resource.") identity?: SapVirtualInstanceIdentity; } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index 00056e5fe453..b85735eaa9db 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -71,9 +71,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "SAPAvailabilityZoneDetails", + "name": "body", "in": "body", - "description": "The SAP Availability Zone Details request body.", + "description": "The content of the action request", "required": true, "schema": { "$ref": "#/definitions/SAPAvailabilityZoneDetailsRequest" @@ -122,9 +122,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "SAPDiskConfigurations", + "name": "body", "in": "body", - "description": "The SAP Disk Configurations request body.", + "description": "The content of the action request", "required": true, "schema": { "$ref": "#/definitions/SAPDiskConfigurationsRequest" @@ -173,9 +173,9 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "name": "SapSupportedSku", + "name": "body", "in": "body", - "description": "The SAP Supported SKUs request body.", + "description": "The content of the action request", "required": true, "schema": { "$ref": "#/definitions/SAPSupportedSkusRequest" From 89d35abb708f899f643d0350c4f5fd254aab1a4a Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 6 Nov 2024 22:42:28 +0530 Subject: [PATCH 14/18] remove operations examples --- .../examples/2024-09-01/Operations_List.json | 1105 ----------------- .../models.tsp | 6 +- .../2024-09-01/examples/Operations_List.json | 1105 ----------------- 3 files changed, 4 insertions(+), 2212 deletions(-) delete mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json deleted file mode 100644 index 8bf8d1285ed6..000000000000 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/Operations_List.json +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "parameters": { - "api-version": "2024-09-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Workloads/RegisteredSubscriptions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "RegisteredSubscriptions", - "operation": "Gets/Lists registered subscriptions", - "description": "Reads registered subscriptions" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_List", - "description": "Lists WordpressInstances resources under a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Get", - "description": "Gets a WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_CreateOrUpdate", - "description": "Create or updated WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Delete", - "description": "Delete WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/skus/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Skus", - "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", - "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" - } - }, - { - "name": "Microsoft.Workloads/Operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Operations", - "operation": "read_Operations", - "description": "read Operations" - } - }, - { - "name": "Microsoft.Workloads/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Register the Microsoft.Workloads", - "description": "Register the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Unregister the Microsoft.Workloads", - "description": "Unregister the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "read_OperationStatuses", - "description": "read OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "write_OperationStatuses", - "description": "write OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListBySubscription", - "description": "Lists phpWorkload resources in a subscription" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListByResourceGroup", - "description": "Lists phpWorkload resources in a resource group" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Get", - "description": "Gets a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_CreateOrUpdate", - "description": "Create or updated phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Delete", - "description": "Delete phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Update", - "description": "Update PHP workload resource." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Get", - "description": "Gets the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Create", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Delete", - "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Update", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_List", - "description": "Lists the SAP Application server Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StartInstance", - "description": "Starts the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StopInstance", - "description": "Stops the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Get", - "description": "Gets the SAP Central Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Create", - "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Delete", - "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Update", - "description": "Updates the SAP Central Instance.

This can be used to update tags." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_List", - "description": "Lists the SAP Central Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StartInstance", - "description": "Starts the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StopInstance", - "description": "Stops the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Get", - "description": "Gets the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Create", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Delete", - "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Update", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_List", - "description": "Lists the SAP Database Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StartInstance", - "description": "Starts the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StopInstance", - "description": "Stops the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_List", - "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_ListByResourceGroup", - "description": "Gets a list of SAP monitors in the specified resource group." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Get", - "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Create", - "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Delete", - "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Update", - "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_List", - "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Get", - "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Create", - "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Delete", - "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_List", - "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Create", - "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Delete", - "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_List", - "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_List", - "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Get", - "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Create", - "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Delete", - "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Get", - "description": "Gets an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Create", - "description": "Creates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Delete", - "description": "Deletes an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Update", - "description": "Updates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListByResourceGroup", - "description": "Gets all SAP Virtual Instances in a resource group." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListBySubscription", - "description": "Gets all SAP Virtual Instances in the subscription." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Start", - "description": "Starts the SAP System." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Stop", - "description": "Stops the SAP System." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSizingRecommendations", - "description": "Get SAP sizing recommendations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSupportedSku", - "description": "Get SAP supported SKUs." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPDiskConfigurations", - "description": "Get SAP Disk Configurations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPAvailabilityZoneDetails", - "description": "Get SAP Availability Zone Details." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Get", - "description": "Gets a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Create", - "description": "Creates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Delete", - "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Update", - "description": "Updates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListByResourceGroup", - "description": "Gets all connector resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListBySubscription", - "description": "Gets all connector resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Get", - "description": "Gets the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Create", - "description": "Creates the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Delete", - "description": "Deletes the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Update", - "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_List", - "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Get", - "description": "Gets the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Create", - "description": "Creates the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Delete", - "description": "Deletes the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Update", - "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_List", - "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Get", - "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_ListByResourceGroup", - "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_List", - "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Create", - "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Delete", - "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Update", - "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Get", - "description": "Gets a SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Create", - "description": "Creates a discovery site for SAP Migration." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Delete", - "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Update", - "description": "SAPDiscoverySites_Update." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListByResourceGroup", - "description": "Gets all SAP Migration discovery site resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListBySubscription", - "description": "Gets all SAP Migration discovery site resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ImportEntities", - "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Get", - "description": "Gets the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Create", - "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Delete", - "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Update", - "description": "Updates the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_List", - "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Get", - "description": "Gets the Server Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Create", - "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Delete", - "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Update", - "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_List", - "description": "Lists the Server Instance resources for the given SAP Instance resource." - } - } - ] - } - } - }, - "operationId": "Operations_List", - "title": "List the operations for the provider." -} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index 9caa1dccedeb..f311634106a6 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -2526,9 +2526,11 @@ union SapVirtualInstanceIdentityType { string, } -@doc("The managed service identities envelope.") +/** + * The managed service identities envelope." + */ model SapVirtualInstanceIdentityProperty { + /** The managed service identities assigned to this resource. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" - @doc("The managed service identities assigned to this resource.") identity?: SapVirtualInstanceIdentity; } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json deleted file mode 100644 index 8bf8d1285ed6..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/Operations_List.json +++ /dev/null @@ -1,1105 +0,0 @@ -{ - "parameters": { - "api-version": "2024-09-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Workloads/RegisteredSubscriptions/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "RegisteredSubscriptions", - "operation": "Gets/Lists registered subscriptions", - "description": "Reads registered subscriptions" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_List", - "description": "Lists WordpressInstances resources under a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Get", - "description": "Gets a WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_CreateOrUpdate", - "description": "Create or updated WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads/wordpressInstances", - "operation": "WordpressInstances_Delete", - "description": "Delete WordpressInstances resource" - } - }, - { - "name": "Microsoft.Workloads/skus/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Skus", - "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", - "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" - } - }, - { - "name": "Microsoft.Workloads/Operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Operations", - "operation": "read_Operations", - "description": "read Operations" - } - }, - { - "name": "Microsoft.Workloads/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Register the Microsoft.Workloads", - "description": "Register the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Microsoft.Workloads", - "operation": "Unregister the Microsoft.Workloads", - "description": "Unregister the subscription for Microsoft.Workloads" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "read_OperationStatuses", - "description": "read OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/Locations/OperationStatuses/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "Locations/OperationStatuses", - "operation": "write_OperationStatuses", - "description": "write OperationStatuses" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListBySubscription", - "description": "Lists phpWorkload resources in a subscription" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_ListByResourceGroup", - "description": "Lists phpWorkload resources in a resource group" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Get", - "description": "Gets a phpWorkload resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_CreateOrUpdate", - "description": "Create or updated phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Delete", - "description": "Delete phpWorkloads resource" - } - }, - { - "name": "Microsoft.Workloads/phpWorkloads/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "phpWorkloads", - "operation": "PhpWorkloads_Update", - "description": "Update PHP workload resource." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Get", - "description": "Gets the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Create", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Delete", - "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_Update", - "description": "Puts the SAP Application Server Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_List", - "description": "Lists the SAP Application server Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StartInstance", - "description": "Starts the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/applicationInstances", - "operation": "SAPApplicationServerInstances_StopInstance", - "description": "Stops the SAP Application server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Get", - "description": "Gets the SAP Central Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Create", - "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Delete", - "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_Update", - "description": "Updates the SAP Central Instance.

This can be used to update tags." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_List", - "description": "Lists the SAP Central Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StartInstance", - "description": "Starts the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/centralInstances", - "operation": "SAPCentralInstances_StopInstance", - "description": "Stops the SAP Central server Instance in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Get", - "description": "Gets the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Create", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Delete", - "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_Update", - "description": "Puts the SAP Database Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_List", - "description": "Lists the SAP Database Instances in an SVI." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StartInstance", - "description": "Starts the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances/databaseInstances", - "operation": "SAPDatabaseInstances_StopInstance", - "description": "Stops the database instance of the SAP system." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_List", - "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_ListByResourceGroup", - "description": "Gets a list of SAP monitors in the specified resource group." - } - }, - { - "name": "Microsoft.Workloads/monitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Get", - "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Create", - "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Delete", - "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors", - "operation": "monitors_Update", - "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_List", - "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Get", - "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Create", - "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/providerInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/providerInstances", - "operation": "ProviderInstances_Delete", - "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_List", - "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Create", - "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alerts/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alerts", - "operation": "Alerts_Delete", - "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_List", - "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/alertTemplates/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/alertTemplates", - "operation": "AlertTemplates_Get", - "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_List", - "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Get", - "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Create", - "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." - } - }, - { - "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "monitors/sapLandscapeMonitor", - "operation": "SapLandscapeMonitor_Delete", - "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Get", - "description": "Gets an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Create", - "description": "Creates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Delete", - "description": "Deletes an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Update", - "description": "Updates an SAP Virtual Instance." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListByResourceGroup", - "description": "Gets all SAP Virtual Instances in a resource group." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_ListBySubscription", - "description": "Gets all SAP Virtual Instances in the subscription." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/start/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Start", - "description": "Starts the SAP System." - } - }, - { - "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapVirtualInstances", - "operation": "SAPVirtualInstances_Stop", - "description": "Stops the SAP System." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSizingRecommendations", - "description": "Get SAP sizing recommendations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPSupportedSku", - "description": "Get SAP supported SKUs." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPDiskConfigurations", - "description": "Get SAP Disk Configurations." - } - }, - { - "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "locations/sapVirtualInstanceMetadata", - "operation": "SAPAvailabilityZoneDetails", - "description": "Get SAP Availability Zone Details." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Get", - "description": "Gets a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Create", - "description": "Creates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Delete", - "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_Update", - "description": "Updates a connector resource" - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListByResourceGroup", - "description": "Gets all connector resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/connectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors", - "operation": "Connectors_ListBySubscription", - "description": "Gets all connector resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Get", - "description": "Gets the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Create", - "description": "Creates the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Delete", - "description": "Deletes the backup connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_Update", - "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/acssBackups/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/acssBackups", - "operation": "ACSSBackupConnections_List", - "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Get", - "description": "Gets the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Create", - "description": "Creates the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Delete", - "description": "Deletes the monitor connection resource of virtual instance for SAP." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_Update", - "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." - } - }, - { - "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "connectors/sapVirtualInstanceMonitors", - "operation": "SapVirtualInstanceMonitorConnections_List", - "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Get", - "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_ListByResourceGroup", - "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_List", - "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Create", - "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Delete", - "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." - } - }, - { - "name": "Microsoft.Workloads/insights/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "insights", - "operation": "Insights_Update", - "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Get", - "description": "Gets a SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Create", - "description": "Creates a discovery site for SAP Migration." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Delete", - "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_Update", - "description": "SAPDiscoverySites_Update." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListByResourceGroup", - "description": "Gets all SAP Migration discovery site resources in a Resource Group." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ListBySubscription", - "description": "Gets all SAP Migration discovery site resources in a Subscription." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites", - "operation": "SAPDiscoverySites_ImportEntities", - "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Get", - "description": "Gets the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Create", - "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Delete", - "description": "Deletes the SAP Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_Update", - "description": "Updates the SAP Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances", - "operation": "SAPInstances_List", - "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Get", - "description": "Gets the Server Instance resource." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Create", - "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Delete", - "description": "Deletes the Server Instance resource.

This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the SAP Migration discovery site resource, using the delete operation on it." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_Update", - "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." - } - }, - { - "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.Workloads", - "resource": "sapDiscoverySites/sapInstances/serverInstances", - "operation": "ServerInstances_List", - "description": "Lists the Server Instance resources for the given SAP Instance resource." - } - } - ] - } - } - }, - "operationId": "Operations_List", - "title": "List the operations for the provider." -} From 3abe6e53f68b491acbfd9ec79a5aba6f19e03e3b Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Wed, 6 Nov 2024 23:26:44 +0530 Subject: [PATCH 15/18] Fix suggested by dotet pipeline --- .../SAPApplicationServerInstance.tsp | 10 ++++- .../SAPCentralServerInstance.tsp | 10 ++++- .../SAPDatabaseInstance.tsp | 10 ++++- .../SAPVirtualInstance.tsp | 10 ++++- .../models.tsp | 26 ++++++------ .../stable/2024-09-01/SAPVirtualInstance.json | 42 +++++++++---------- 6 files changed, 66 insertions(+), 42 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp index 0325a37abe21..b5ff1d38e246 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp @@ -61,9 +61,12 @@ interface SAPApplicationServerInstances { start is ArmResourceActionAsync< SAPApplicationServerInstance, { + @header + contentType: "application/json"; + @doc("SAP Application server instance start request body.") @body - body?: StartRequest; + body?: StartContent; }, Foundations.OperationStatusResult >; @@ -74,9 +77,12 @@ interface SAPApplicationServerInstances { stop is ArmResourceActionAsync< SAPApplicationServerInstance, { + @header + contentType: "application/json"; + @doc("SAP Application server instance stop request body.") @body - body?: StopRequest; + body?: StopContent; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp index 568589fd0d53..10fe93bbf6ac 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp @@ -61,9 +61,12 @@ interface SAPCentralServerInstances { start is ArmResourceActionAsync< SAPCentralServerInstance, { + @header + contentType: "application/json"; + @doc("SAP Central Services instance start request body.") @body - body?: StartRequest; + body?: StartContent; }, Foundations.OperationStatusResult >; @@ -74,9 +77,12 @@ interface SAPCentralServerInstances { stop is ArmResourceActionAsync< SAPCentralServerInstance, { + @header + contentType: "application/json"; + @doc("SAP Central Services instance stop request body.") @body - body?: StopRequest; + body?: StopContent; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp index a95ff227952a..a4db50e7b448 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp @@ -60,9 +60,12 @@ interface SAPDatabaseInstances { start is ArmResourceActionAsync< SAPDatabaseInstance, { + @header + contentType: "application/json"; + @doc("SAP Database server instance start request body.") @body - body?: StartRequest; + body?: StartContent; }, Foundations.OperationStatusResult >; @@ -73,9 +76,12 @@ interface SAPDatabaseInstances { stop is ArmResourceActionAsync< SAPDatabaseInstance, { + @header + contentType: "application/json"; + @doc("Stop request for the database instance of the SAP system.") @body - body?: StopRequest; + body?: StopContent; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 613aedf901ca..e79e47e8bc70 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -63,9 +63,12 @@ interface SAPVirtualInstances { start is ArmResourceActionAsync< SAPVirtualInstance, { + @header + contentType: "application/json"; + @doc("The Virtual Instance for SAP solutions resource start request body.") @body - body?: StartRequest; + body?: StartContent; }, Foundations.OperationStatusResult >; @@ -76,9 +79,12 @@ interface SAPVirtualInstances { stop is ArmResourceActionAsync< SAPVirtualInstance, { + @header + contentType: "application/json"; + @doc("The Virtual Instance for SAP solutions resource stop request body.") @body - body?: StopRequest; + body?: StopContent; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index f311634106a6..dd100e2a98a5 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -948,13 +948,13 @@ model SAPVirtualInstanceError { /** * The Virtual Instance for SAP error body. */ - properties?: ErrorDefinition; + properties?: ErrorInformation; } /** * Error definition. */ -model ErrorDefinition { +model ErrorInformation { /** * Service specific error code which serves as the substatus for the HTTP error code. */ @@ -972,7 +972,7 @@ model ErrorDefinition { */ @visibility("read") @OpenAPI.extension("x-ms-identifiers", []) - details?: ErrorDefinition[]; + details?: ErrorInformation[]; } /** @@ -1561,7 +1561,7 @@ model UpdateSAPApplicationInstanceRequest { /** * Start SAP instance(s) request body. */ -model StartRequest { +model StartContent { /** * The boolean value indicates whether to start the virtual machines before starting the SAP instances. */ @@ -1571,7 +1571,7 @@ model StartRequest { /** * Stop SAP instance(s) request body. */ -model StopRequest { +model StopContent { /** * This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop. */ @@ -1640,7 +1640,7 @@ model OSConfiguration { */ model SshPublicKey { /** - * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ keyData?: string; } @@ -1657,7 +1657,7 @@ model SshConfiguration { } /** - * Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ model LinuxConfiguration extends OSConfiguration { /** @@ -1682,7 +1682,7 @@ model LinuxConfiguration extends OSConfiguration { } /** - * The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ model SshKeyPair { /** @@ -1703,12 +1703,12 @@ model SshKeyPair { #suppress "@azure-tools/typespec-azure-core/casing-style" "OS represents the Operation System." model OSProfile { /** - * Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. + * Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in "." **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters. */ adminUsername?: string; @secret - @doc("Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)") + @doc("Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\\W_]) **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)") adminPassword?: string; /** @@ -1804,7 +1804,7 @@ model VirtualMachineConfiguration { } /** - * Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + * Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */ model SingleServerConfiguration extends InfrastructureConfiguration { /** @@ -2032,7 +2032,7 @@ model StorageConfiguration { } /** - * Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + * Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */ model ThreeTierConfiguration extends InfrastructureConfiguration { /** @@ -2397,7 +2397,7 @@ model DiscoveryConfiguration extends SAPConfiguration { centralServerVmId?: string; /** - * The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.

Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).

If not provided, the service will create the storage account with a random name. + * The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).If not provided, the service will create the storage account with a random name. */ @maxLength(24) @minLength(3) diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index b85735eaa9db..55a0fecfd586 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -1057,7 +1057,7 @@ "description": "SAP Application server instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartRequest" + "$ref": "#/definitions/StartContent" } } ], @@ -1142,7 +1142,7 @@ "description": "SAP Application server instance stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopRequest" + "$ref": "#/definitions/StopContent" } } ], @@ -1554,7 +1554,7 @@ "description": "SAP Central Services instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartRequest" + "$ref": "#/definitions/StartContent" } } ], @@ -1639,7 +1639,7 @@ "description": "SAP Central Services instance stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopRequest" + "$ref": "#/definitions/StopContent" } } ], @@ -2045,7 +2045,7 @@ "description": "SAP Database server instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartRequest" + "$ref": "#/definitions/StartContent" } } ], @@ -2130,7 +2130,7 @@ "description": "Stop request for the database instance of the SAP system.", "required": false, "schema": { - "$ref": "#/definitions/StopRequest" + "$ref": "#/definitions/StopContent" } } ], @@ -2213,7 +2213,7 @@ "description": "The Virtual Instance for SAP solutions resource start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartRequest" + "$ref": "#/definitions/StartContent" } } ], @@ -2290,7 +2290,7 @@ "description": "The Virtual Instance for SAP solutions resource stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopRequest" + "$ref": "#/definitions/StopContent" } } ], @@ -2741,7 +2741,7 @@ }, "managedRgStorageAccountName": { "type": "string", - "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.

Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).

If not provided, the service will create the storage account with a random name.", + "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).If not provided, the service will create the storage account with a random name.", "minLength": 3, "maxLength": 24 }, @@ -2986,7 +2986,7 @@ } } }, - "ErrorDefinition": { + "ErrorInformation": { "type": "object", "description": "Error definition.", "properties": { @@ -3004,7 +3004,7 @@ "type": "array", "description": "Internal error details.", "items": { - "$ref": "#/definitions/ErrorDefinition" + "$ref": "#/definitions/ErrorInformation" }, "readOnly": true, "x-ms-identifiers": [] @@ -3169,7 +3169,7 @@ }, "LinuxConfiguration": { "type": "object", - "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", "properties": { "disablePasswordAuthentication": { "type": "boolean", @@ -3395,12 +3395,12 @@ "properties": { "adminUsername": { "type": "string", - "description": "Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters." + "description": "Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in \".\" **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters." }, "adminPassword": { "type": "string", "format": "password", - "description": "Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "description": "Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\\W_]) **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", "x-ms-secret": true }, "osConfiguration": { @@ -4352,7 +4352,7 @@ "description": "An error response from the Virtual Instance for SAP Workload service.", "properties": { "properties": { - "$ref": "#/definitions/ErrorDefinition", + "$ref": "#/definitions/ErrorInformation", "description": "The Virtual Instance for SAP error body." } } @@ -4746,7 +4746,7 @@ }, "SingleServerConfiguration": { "type": "object", - "description": "Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "description": "Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", "properties": { "networkConfiguration": { "$ref": "#/definitions/NetworkConfiguration", @@ -4870,7 +4870,7 @@ }, "SshKeyPair": { "type": "object", - "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", + "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", "properties": { "publicKey": { "type": "string", @@ -4890,11 +4890,11 @@ "properties": { "keyData": { "type": "string", - "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." } } }, - "StartRequest": { + "StartContent": { "type": "object", "description": "Start SAP instance(s) request body.", "properties": { @@ -4905,7 +4905,7 @@ } } }, - "StopRequest": { + "StopContent": { "type": "object", "description": "Stop SAP instance(s) request body.", "properties": { @@ -4945,7 +4945,7 @@ }, "ThreeTierConfiguration": { "type": "object", - "description": "Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "description": "Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", "properties": { "networkConfiguration": { "$ref": "#/definitions/NetworkConfiguration", From 9ec31e203d8fcb4fbe74b04893e8939723585f23 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Thu, 7 Nov 2024 12:17:32 +0530 Subject: [PATCH 16/18] Revert "Fix suggested by dotet pipeline" This reverts commit 3abe6e53f68b491acbfd9ec79a5aba6f19e03e3b. --- .../SAPApplicationServerInstance.tsp | 10 +---- .../SAPCentralServerInstance.tsp | 10 +---- .../SAPDatabaseInstance.tsp | 10 +---- .../SAPVirtualInstance.tsp | 10 +---- .../models.tsp | 26 ++++++------ .../stable/2024-09-01/SAPVirtualInstance.json | 42 +++++++++---------- 6 files changed, 42 insertions(+), 66 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp index b5ff1d38e246..0325a37abe21 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp @@ -61,12 +61,9 @@ interface SAPApplicationServerInstances { start is ArmResourceActionAsync< SAPApplicationServerInstance, { - @header - contentType: "application/json"; - @doc("SAP Application server instance start request body.") @body - body?: StartContent; + body?: StartRequest; }, Foundations.OperationStatusResult >; @@ -77,12 +74,9 @@ interface SAPApplicationServerInstances { stop is ArmResourceActionAsync< SAPApplicationServerInstance, { - @header - contentType: "application/json"; - @doc("SAP Application server instance stop request body.") @body - body?: StopContent; + body?: StopRequest; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp index 10fe93bbf6ac..568589fd0d53 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp @@ -61,12 +61,9 @@ interface SAPCentralServerInstances { start is ArmResourceActionAsync< SAPCentralServerInstance, { - @header - contentType: "application/json"; - @doc("SAP Central Services instance start request body.") @body - body?: StartContent; + body?: StartRequest; }, Foundations.OperationStatusResult >; @@ -77,12 +74,9 @@ interface SAPCentralServerInstances { stop is ArmResourceActionAsync< SAPCentralServerInstance, { - @header - contentType: "application/json"; - @doc("SAP Central Services instance stop request body.") @body - body?: StopContent; + body?: StopRequest; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp index a4db50e7b448..a95ff227952a 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp @@ -60,12 +60,9 @@ interface SAPDatabaseInstances { start is ArmResourceActionAsync< SAPDatabaseInstance, { - @header - contentType: "application/json"; - @doc("SAP Database server instance start request body.") @body - body?: StartContent; + body?: StartRequest; }, Foundations.OperationStatusResult >; @@ -76,12 +73,9 @@ interface SAPDatabaseInstances { stop is ArmResourceActionAsync< SAPDatabaseInstance, { - @header - contentType: "application/json"; - @doc("Stop request for the database instance of the SAP system.") @body - body?: StopContent; + body?: StopRequest; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index e79e47e8bc70..613aedf901ca 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -63,12 +63,9 @@ interface SAPVirtualInstances { start is ArmResourceActionAsync< SAPVirtualInstance, { - @header - contentType: "application/json"; - @doc("The Virtual Instance for SAP solutions resource start request body.") @body - body?: StartContent; + body?: StartRequest; }, Foundations.OperationStatusResult >; @@ -79,12 +76,9 @@ interface SAPVirtualInstances { stop is ArmResourceActionAsync< SAPVirtualInstance, { - @header - contentType: "application/json"; - @doc("The Virtual Instance for SAP solutions resource stop request body.") @body - body?: StopContent; + body?: StopRequest; }, Foundations.OperationStatusResult >; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index dd100e2a98a5..f311634106a6 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -948,13 +948,13 @@ model SAPVirtualInstanceError { /** * The Virtual Instance for SAP error body. */ - properties?: ErrorInformation; + properties?: ErrorDefinition; } /** * Error definition. */ -model ErrorInformation { +model ErrorDefinition { /** * Service specific error code which serves as the substatus for the HTTP error code. */ @@ -972,7 +972,7 @@ model ErrorInformation { */ @visibility("read") @OpenAPI.extension("x-ms-identifiers", []) - details?: ErrorInformation[]; + details?: ErrorDefinition[]; } /** @@ -1561,7 +1561,7 @@ model UpdateSAPApplicationInstanceRequest { /** * Start SAP instance(s) request body. */ -model StartContent { +model StartRequest { /** * The boolean value indicates whether to start the virtual machines before starting the SAP instances. */ @@ -1571,7 +1571,7 @@ model StartContent { /** * Stop SAP instance(s) request body. */ -model StopContent { +model StopRequest { /** * This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop. */ @@ -1640,7 +1640,7 @@ model OSConfiguration { */ model SshPublicKey { /** - * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ keyData?: string; } @@ -1657,7 +1657,7 @@ model SshConfiguration { } /** - * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + * Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). */ model LinuxConfiguration extends OSConfiguration { /** @@ -1682,7 +1682,7 @@ model LinuxConfiguration extends OSConfiguration { } /** - * The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ model SshKeyPair { /** @@ -1703,12 +1703,12 @@ model SshKeyPair { #suppress "@azure-tools/typespec-azure-core/casing-style" "OS represents the Operation System." model OSProfile { /** - * Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in "." **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters. + * Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. */ adminUsername?: string; @secret - @doc("Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\\W_]) **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)") + @doc("Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)") adminPassword?: string; /** @@ -1804,7 +1804,7 @@ model VirtualMachineConfiguration { } /** - * Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + * Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */ model SingleServerConfiguration extends InfrastructureConfiguration { /** @@ -2032,7 +2032,7 @@ model StorageConfiguration { } /** - * Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + * Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */ model ThreeTierConfiguration extends InfrastructureConfiguration { /** @@ -2397,7 +2397,7 @@ model DiscoveryConfiguration extends SAPConfiguration { centralServerVmId?: string; /** - * The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).If not provided, the service will create the storage account with a random name. + * The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.

Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).

If not provided, the service will create the storage account with a random name. */ @maxLength(24) @minLength(3) diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index 55a0fecfd586..b85735eaa9db 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -1057,7 +1057,7 @@ "description": "SAP Application server instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartContent" + "$ref": "#/definitions/StartRequest" } } ], @@ -1142,7 +1142,7 @@ "description": "SAP Application server instance stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopContent" + "$ref": "#/definitions/StopRequest" } } ], @@ -1554,7 +1554,7 @@ "description": "SAP Central Services instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartContent" + "$ref": "#/definitions/StartRequest" } } ], @@ -1639,7 +1639,7 @@ "description": "SAP Central Services instance stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopContent" + "$ref": "#/definitions/StopRequest" } } ], @@ -2045,7 +2045,7 @@ "description": "SAP Database server instance start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartContent" + "$ref": "#/definitions/StartRequest" } } ], @@ -2130,7 +2130,7 @@ "description": "Stop request for the database instance of the SAP system.", "required": false, "schema": { - "$ref": "#/definitions/StopContent" + "$ref": "#/definitions/StopRequest" } } ], @@ -2213,7 +2213,7 @@ "description": "The Virtual Instance for SAP solutions resource start request body.", "required": false, "schema": { - "$ref": "#/definitions/StartContent" + "$ref": "#/definitions/StartRequest" } } ], @@ -2290,7 +2290,7 @@ "description": "The Virtual Instance for SAP solutions resource stop request body.", "required": false, "schema": { - "$ref": "#/definitions/StopContent" + "$ref": "#/definitions/StopRequest" } } ], @@ -2741,7 +2741,7 @@ }, "managedRgStorageAccountName": { "type": "string", - "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).If not provided, the service will create the storage account with a random name.", + "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.

Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).

If not provided, the service will create the storage account with a random name.", "minLength": 3, "maxLength": 24 }, @@ -2986,7 +2986,7 @@ } } }, - "ErrorInformation": { + "ErrorDefinition": { "type": "object", "description": "Error definition.", "properties": { @@ -3004,7 +3004,7 @@ "type": "array", "description": "Internal error details.", "items": { - "$ref": "#/definitions/ErrorInformation" + "$ref": "#/definitions/ErrorDefinition" }, "readOnly": true, "x-ms-identifiers": [] @@ -3169,7 +3169,7 @@ }, "LinuxConfiguration": { "type": "object", - "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", "properties": { "disablePasswordAuthentication": { "type": "boolean", @@ -3395,12 +3395,12 @@ "properties": { "adminUsername": { "type": "string", - "description": "Specifies the name of the administrator account. This property cannot be updated after the VM is created. **Windows-only restriction:** Cannot end in \".\" **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". **Minimum-length (Linux):** 1 character **Max-length (Linux):** 64 characters **Max-length (Windows):** 20 characters." + "description": "Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters." }, "adminPassword": { "type": "string", "format": "password", - "description": "Specifies the password of the administrator account. **Minimum-length (Windows):** 8 characters **Minimum-length (Linux):** 6 characters **Max-length (Windows):** 123 characters **Max-length (Linux):** 72 characters **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\\W_]) **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "description": "Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", "x-ms-secret": true }, "osConfiguration": { @@ -4352,7 +4352,7 @@ "description": "An error response from the Virtual Instance for SAP Workload service.", "properties": { "properties": { - "$ref": "#/definitions/ErrorInformation", + "$ref": "#/definitions/ErrorDefinition", "description": "The Virtual Instance for SAP error body." } } @@ -4746,7 +4746,7 @@ }, "SingleServerConfiguration": { "type": "object", - "description": "Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "description": "Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", "properties": { "networkConfiguration": { "$ref": "#/definitions/NetworkConfiguration", @@ -4870,7 +4870,7 @@ }, "SshKeyPair": { "type": "object", - "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", + "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", "properties": { "publicKey": { "type": "string", @@ -4890,11 +4890,11 @@ "properties": { "keyData": { "type": "string", - "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." } } }, - "StartContent": { + "StartRequest": { "type": "object", "description": "Start SAP instance(s) request body.", "properties": { @@ -4905,7 +4905,7 @@ } } }, - "StopContent": { + "StopRequest": { "type": "object", "description": "Stop SAP instance(s) request body.", "properties": { @@ -4945,7 +4945,7 @@ }, "ThreeTierConfiguration": { "type": "object", - "description": "Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "description": "Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", "properties": { "networkConfiguration": { "$ref": "#/definitions/NetworkConfiguration", From 0de70029db914504c3ffb8cd6ab2d0fb5e66ed77 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Thu, 7 Nov 2024 12:26:17 +0530 Subject: [PATCH 17/18] making operations as seperate file --- .../Workloads.SAPVirtualInstance.Management/main.tsp | 1 + .../models.tsp | 3 --- .../operations.tsp | 1 + .../tspconfig.yaml | 12 ++++++------ 4 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/operations.tsp diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp index 9bcea1409344..e5c5547ece6a 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -15,6 +15,7 @@ import "./SAPDatabaseInstance.tsp"; import "./SAPApplicationServerInstance.tsp"; import "./SAPVirtualInstanceMetadata.tsp"; import "./custom.tsp"; +import "./operations.tsp"; using Azure.Core; using Azure.ResourceManager; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index f311634106a6..f0017d593799 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -7,9 +7,6 @@ using Azure.ResourceManager.CommonTypes; namespace Microsoft.Workloads; -@armResourceOperations -interface Operations extends Microsoft.Workloads.Operations {} - /** * Defines the environment type - Production/Non Production. */ diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/operations.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/operations.tsp new file mode 100644 index 000000000000..6050090554c4 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/operations.tsp @@ -0,0 +1 @@ +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index 9e4f0788080c..642e6dfda7b7 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -13,12 +13,12 @@ options: # `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 output-file: "{azure-resource-provider-folder}/{service-name}/SAPVirtualInstance/{version-status}/{version}/SAPVirtualInstance.json" - "@azure-tools/typespec-csharp": - flavor: azure - package-dir: "Azure.ResourceManager.SapVirtualInstances" - clear-output-folder: true - model-namespace: false - namespace: "{package-dir}" + # "@azure-tools/typespec-csharp": + # flavor: azure + # package-dir: "Azure.ResourceManager.SapVirtualInstances" + # clear-output-folder: true + # model-namespace: false + # namespace: "{package-dir}" "@azure-tools/typespec-python": package-dir: "azure-mgmt-workloadssapvirtualinstance" package-name: "{package-dir}" From ac83cbe8f1e25ff29dd34d5f78d463fb9d31e989 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh Date: Thu, 7 Nov 2024 21:21:44 +0530 Subject: [PATCH 18/18] adding suppression with where --- .../SAPVirtualInstance.tsp | 2 +- .../models.tsp | 14 ++- .../SAPVirtualInstance/readme.md | 4 + .../stable/2024-09-01/SAPVirtualInstance.json | 104 +++++++++--------- 4 files changed, 65 insertions(+), 59 deletions(-) diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp index 613aedf901ca..30322a827a4d 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -17,7 +17,7 @@ model SAPVirtualInstance is TrackedResource { SegmentName = "sapVirtualInstances", NamePattern = "^[a-zA-Z][a-zA-Z0-9]{2}$" >; - ...SapVirtualInstanceIdentityProperty; + ...SAPVirtualInstanceIdentityProperty; } #suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp index f0017d593799..fa20a973eef9 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -1015,7 +1015,7 @@ model UpdateSAPVirtualInstanceRequest { /** * Managed service identity (user assigned identities) */ - identity?: SapVirtualInstanceIdentity; + identity?: SAPVirtualInstanceIdentity; /** * The update properties. @@ -2501,9 +2501,10 @@ model DeployerVmPackages { /** * Managed service identity (user assigned identities) */ -model SapVirtualInstanceIdentity { +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPVirtualInstanceIdentity { /** The type of managed identity assigned to this resource. */ - type: SapVirtualInstanceIdentityType; + type: SAPVirtualInstanceIdentityType; /** The identities assigned to this resource by the user. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "" @@ -2513,7 +2514,7 @@ model SapVirtualInstanceIdentity { /** * Type of managed service identity (where only None and UserAssigned types are allowed). */ -union SapVirtualInstanceIdentityType { +union SAPVirtualInstanceIdentityType { /** No managed identity. */ None: "None", @@ -2526,8 +2527,9 @@ union SapVirtualInstanceIdentityType { /** * The managed service identities envelope." */ -model SapVirtualInstanceIdentityProperty { +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPVirtualInstanceIdentityProperty { /** The managed service identities assigned to this resource. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "" - identity?: SapVirtualInstanceIdentity; + identity?: SAPVirtualInstanceIdentity; } diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md index f140347722e9..b641181ce737 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md @@ -44,6 +44,10 @@ suppressions: - code: BodyTopLevelProperties from: SAPVirtualInstance.json reason: This is an incorrect failure due to a bug in the tool + - code: AvoidAnonymousTypes + from: SAPVirtualInstance.json + where: $.definitions.SAPVirtualInstanceIdentity.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-preview-2023-10 diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json index b85735eaa9db..8eb38732f3e9 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -4337,7 +4337,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/SapVirtualInstanceIdentity", + "$ref": "#/definitions/SAPVirtualInstanceIdentity", "description": "The managed service identities assigned to this resource." } }, @@ -4357,6 +4357,56 @@ } } }, + "SAPVirtualInstanceIdentity": { + "type": "object", + "description": "Managed service identity (user assigned identities)", + "properties": { + "type": { + "$ref": "#/definitions/SAPVirtualInstanceIdentityType", + "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 + } + } + }, + "required": [ + "type" + ] + }, + "SAPVirtualInstanceIdentityType": { + "type": "string", + "description": "Type of managed service identity (where only None and UserAssigned types are allowed).", + "enum": [ + "None", + "UserAssigned" + ], + "x-ms-enum": { + "name": "SAPVirtualInstanceIdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No managed identity." + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "User assigned managed identity." + } + ] + } + }, "SAPVirtualInstanceListResult": { "type": "object", "description": "The response of a SAPVirtualInstance list operation.", @@ -4586,56 +4636,6 @@ ] } }, - "SapVirtualInstanceIdentity": { - "type": "object", - "description": "Managed service identity (user assigned identities)", - "properties": { - "type": { - "$ref": "#/definitions/SapVirtualInstanceIdentityType", - "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 - } - } - }, - "required": [ - "type" - ] - }, - "SapVirtualInstanceIdentityType": { - "type": "string", - "description": "Type of managed service identity (where only None and UserAssigned types are allowed).", - "enum": [ - "None", - "UserAssigned" - ], - "x-ms-enum": { - "name": "SapVirtualInstanceIdentityType", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None", - "description": "No managed identity." - }, - { - "name": "UserAssigned", - "value": "UserAssigned", - "description": "User assigned managed identity." - } - ] - } - }, "SapVirtualInstanceProvisioningState": { "type": "string", "description": "Defines the provisioning states.", @@ -5130,7 +5130,7 @@ } }, "identity": { - "$ref": "#/definitions/SapVirtualInstanceIdentity", + "$ref": "#/definitions/SAPVirtualInstanceIdentity", "description": "Managed service identity (user assigned identities)" }, "properties": {