From ddbc54d3d02973137d30d92a00ea8ebbdbc7600a Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Sat, 9 Sep 2023 07:24:56 +0800 Subject: [PATCH] Include sample-gen by default when generating sdk code (mgmt) (#38277) * update autorest.md to include sample-gen config and delete autorest.tests.md * update more config * update config of hardwaresecuritymodule * fix blueprint sample config * update to include skip sample config * temp remove samplegen config for services using batch config --- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../tests/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 17 -------- .../src/autorest.md | 7 ++++ .../tests/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../Azure.ResourceManager.Avs/src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../Azure.ResourceManager.Hci/src/autorest.md | 3 ++ .../tests/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../Azure.ResourceManager.Cdn/src/autorest.md | 6 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 39 ------------------- .../src/autorest.md | 29 ++++++++++++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 19 --------- .../src/autorest.md | 9 +++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../src/autorest.md | 6 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../Azure.ResourceManager.Dns/src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 4 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 21 ---------- .../src/autorest.md | 11 ++++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../src/autorest.md | 6 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../src/autorest.md | 6 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 5 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 18 --------- .../src/autorest.md | 8 ++++ .../samples/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 30 -------------- .../src/autorest.md | 20 ++++++++++ .../samples/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 14 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 21 ---------- .../src/autorest.md | 11 ++++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 18 --------- .../src/autorest.md | 8 ++++ .../Samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../src/autorest.md | 6 +++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 18 --------- .../Azure.ResourceManager.Sql/src/autorest.md | 8 ++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 17 -------- .../src/autorest.md | 7 ++++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 17 -------- .../src/autorest.md | 6 +++ 302 files changed, 567 insertions(+), 2124 deletions(-) delete mode 100644 eng/templates/Azure.ResourceManager.Template/samples/autorest.tests.md delete mode 100644 sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md delete mode 100644 sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/autorest.tests.md delete mode 100644 sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/autorest.tests.md delete mode 100644 sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md delete mode 100644 sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md delete mode 100644 sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/autorest.tests.md delete mode 100644 sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/autorest.tests.md delete mode 100644 sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/autorest.tests.md delete mode 100644 sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md delete mode 100644 sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/samples/autorest.tests.md delete mode 100644 sdk/attestation/Azure.ResourceManager.Attestation/samples/autorest.tests.md delete mode 100644 sdk/authorization/Azure.ResourceManager.Authorization/samples/autorest.tests.md delete mode 100644 sdk/automanage/Azure.ResourceManager.Automanage/samples/autorest.tests.md delete mode 100644 sdk/automation/Azure.ResourceManager.Automation/samples/autorest.tests.md delete mode 100644 sdk/avs/Azure.ResourceManager.Avs/samples/autorest.tests.md delete mode 100644 sdk/azurestackhci/Azure.ResourceManager.Hci/samples/autorest.tests.md delete mode 100644 sdk/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md delete mode 100644 sdk/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md delete mode 100644 sdk/blueprint/Azure.ResourceManager.Blueprint/samples/autorest.tests.md delete mode 100644 sdk/botservice/Azure.ResourceManager.BotService/samples/autorest.tests.md delete mode 100644 sdk/cdn/Azure.ResourceManager.Cdn/samples/autorest.tests.md delete mode 100644 sdk/chaos/Azure.ResourceManager.Chaos/samples/autorest.tests.md delete mode 100644 sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/autorest.tests.md delete mode 100644 sdk/communication/Azure.ResourceManager.Communication/samples/autorest.tests.md delete mode 100644 sdk/compute/Azure.ResourceManager.Compute/samples/autorest.tests.md delete mode 100644 sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/autorest.tests.md delete mode 100644 sdk/confluent/Azure.ResourceManager.Confluent/samples/autorest.tests.md delete mode 100644 sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/autorest.tests.md delete mode 100644 sdk/consumption/Azure.ResourceManager.Consumption/samples/autorest.tests.md delete mode 100644 sdk/containerapps/Azure.ResourceManager.AppContainers/samples/autorest.tests.md delete mode 100644 sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/autorest.tests.md delete mode 100644 sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/autorest.tests.md delete mode 100644 sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/autorest.tests.md delete mode 100644 sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/autorest.tests.md delete mode 100644 sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/autorest.tests.md delete mode 100644 sdk/databox/Azure.ResourceManager.DataBox/samples/autorest.tests.md delete mode 100644 sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/autorest.tests.md delete mode 100644 sdk/datadog/Azure.ResourceManager.Datadog/samples/autorest.tests.md delete mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/samples/autorest.tests.md delete mode 100644 sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/autorest.tests.md delete mode 100644 sdk/datamigration/Azure.ResourceManager.DataMigration/samples/autorest.tests.md delete mode 100644 sdk/datashare/Azure.ResourceManager.DataShare/samples/autorest.tests.md delete mode 100644 sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/samples/autorest.tests.md delete mode 100644 sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/autorest.tests.md delete mode 100644 sdk/devcenter/Azure.ResourceManager.DevCenter/samples/autorest.tests.md delete mode 100644 sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/autorest.tests.md delete mode 100644 sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/autorest.tests.md delete mode 100644 sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/autorest.tests.md delete mode 100644 sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/autorest.tests.md delete mode 100644 sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/autorest.tests.md delete mode 100644 sdk/dns/Azure.ResourceManager.Dns/samples/autorest.tests.md delete mode 100644 sdk/dnsresolver/Azure.ResourceManager.DnsResolver/samples/autorest.tests.md delete mode 100644 sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md delete mode 100644 sdk/elastic/Azure.ResourceManager.Elastic/samples/autorest.tests.md delete mode 100644 sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/autorest.tests.md delete mode 100644 sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/autorest.tests.md delete mode 100644 sdk/eventhub/Azure.ResourceManager.EventHubs/samples/autorest.tests.md delete mode 100644 sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/autorest.tests.md delete mode 100644 sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/autorest.tests.md delete mode 100644 sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/autorest.tests.md delete mode 100644 sdk/grafana/Azure.ResourceManager.Grafana/samples/autorest.tests.md delete mode 100644 sdk/graphservices/Azure.ResourceManager.GraphServices/samples/autorest.tests.md delete mode 100644 sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/autorest.tests.md delete mode 100644 sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/autorest.tests.md delete mode 100644 sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/autorest.tests.md delete mode 100644 sdk/healthbot/Azure.ResourceManager.HealthBot/samples/autorest.tests.md delete mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/autorest.tests.md delete mode 100644 sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/autorest.tests.md delete mode 100644 sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/autorest.tests.md delete mode 100644 sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/autorest.tests.md delete mode 100644 sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/autorest.tests.md delete mode 100644 sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/autorest.tests.md delete mode 100644 sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/autorest.tests.md delete mode 100644 sdk/iothub/Azure.ResourceManager.IotHub/samples/autorest.tests.md delete mode 100644 sdk/keyvault/Azure.ResourceManager.KeyVault/samples/autorest.tests.md delete mode 100644 sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/autorest.tests.md delete mode 100644 sdk/kusto/Azure.ResourceManager.Kusto/samples/autorest.tests.md delete mode 100644 sdk/labservices/Azure.ResourceManager.LabServices/samples/autorest.tests.md delete mode 100644 sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/autorest.tests.md delete mode 100644 sdk/logic/Azure.ResourceManager.Logic/samples/autorest.tests.md delete mode 100644 sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/autorest.tests.md delete mode 100644 sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/autorest.tests.md delete mode 100644 sdk/maintenance/Azure.ResourceManager.Maintenance/samples/autorest.tests.md delete mode 100644 sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/autorest.tests.md delete mode 100644 sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/autorest.tests.md delete mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/autorest.tests.md delete mode 100644 sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/autorest.tests.md delete mode 100644 sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/autorest.tests.md delete mode 100644 sdk/maps/Azure.ResourceManager.Maps/samples/autorest.tests.md delete mode 100644 sdk/marketplace/Azure.ResourceManager.Marketplace/samples/autorest.tests.md delete mode 100644 sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/autorest.tests.md delete mode 100644 sdk/mediaservices/Azure.ResourceManager.Media/samples/autorest.tests.md delete mode 100644 sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/autorest.tests.md delete mode 100644 sdk/monitor/Azure.ResourceManager.Monitor/samples/autorest.tests.md delete mode 100644 sdk/mysql/Azure.ResourceManager.MySql/samples/autorest.tests.md delete mode 100644 sdk/netapp/Azure.ResourceManager.NetApp/samples/autorest.tests.md delete mode 100644 sdk/network/Azure.ResourceManager.Network/samples/autorest.tests.md delete mode 100644 sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/autorest.tests.md delete mode 100644 sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/autorest.tests.md delete mode 100644 sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/autorest.tests.md delete mode 100644 sdk/nginx/Azure.ResourceManager.Nginx/samples/autorest.tests.md delete mode 100644 sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/autorest.tests.md delete mode 100644 sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/autorest.tests.md delete mode 100644 sdk/orbital/Azure.ResourceManager.Orbital/samples/autorest.tests.md delete mode 100644 sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/autorest.tests.md delete mode 100644 sdk/peering/Azure.ResourceManager.Peering/samples/autorest.tests.md delete mode 100644 sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/autorest.tests.md delete mode 100644 sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/autorest.tests.md delete mode 100644 sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/autorest.tests.md delete mode 100644 sdk/privatedns/Azure.ResourceManager.PrivateDns/samples/autorest.tests.md delete mode 100644 sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/autorest.tests.md delete mode 100644 sdk/purview/Azure.ResourceManager.Purview/samples/autorest.tests.md delete mode 100644 sdk/quantum/Azure.ResourceManager.Quantum/samples/autorest.tests.md delete mode 100644 sdk/qumulo/Azure.ResourceManager.Qumulo/samples/autorest.tests.md delete mode 100644 sdk/quota/Azure.ResourceManager.Quota/samples/autorest.tests.md delete mode 100644 sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/autorest.tests.md delete mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/autorest.tests.md delete mode 100644 sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/autorest.tests.md delete mode 100644 sdk/redis/Azure.ResourceManager.Redis/samples/autorest.tests.md delete mode 100644 sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/autorest.tests.md delete mode 100644 sdk/relay/Azure.ResourceManager.Relay/samples/autorest.tests.md delete mode 100644 sdk/reservations/Azure.ResourceManager.Reservations/samples/autorest.tests.md delete mode 100644 sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/autorest.tests.md delete mode 100644 sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/autorest.tests.md delete mode 100644 sdk/resourcemanager/Azure.ResourceManager/samples/autorest.tests.md delete mode 100644 sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/autorest.tests.md delete mode 100644 sdk/resources/Azure.ResourceManager.Resources/samples/autorest.tests.md delete mode 100644 sdk/search/Azure.ResourceManager.Search/samples/autorest.tests.md delete mode 100644 sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/autorest.tests.md delete mode 100644 sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/Samples/autorest.tests.md delete mode 100644 sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/autorest.tests.md delete mode 100644 sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/autorest.tests.md delete mode 100644 sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/autorest.tests.md delete mode 100644 sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/autorest.tests.md delete mode 100644 sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/autorest.tests.md delete mode 100644 sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/autorest.tests.md delete mode 100644 sdk/sphere/Azure.ResourceManager.Sphere/samples/autorest.tests.md delete mode 100644 sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/autorest.tests.md delete mode 100644 sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/autorest.tests.md delete mode 100644 sdk/storage/Azure.ResourceManager.Storage/samples/autorest.tests.md delete mode 100644 sdk/storagecache/Azure.ResourceManager.StorageCache/samples/autorest.tests.md delete mode 100644 sdk/storagepool/Azure.ResourceManager.StoragePool/samples/autorest.tests.md delete mode 100644 sdk/storagesync/Azure.ResourceManager.StorageSync/samples/autorest.tests.md delete mode 100644 sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/autorest.tests.md delete mode 100644 sdk/subscription/Azure.ResourceManager.Subscription/samples/autorest.tests.md delete mode 100644 sdk/support/Azure.ResourceManager.Support/samples/autorest.tests.md delete mode 100644 sdk/synapse/Azure.ResourceManager.Synapse/samples/autorest.tests.md delete mode 100644 sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/autorest.tests.md delete mode 100644 sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/autorest.tests.md delete mode 100644 sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/autorest.tests.md delete mode 100644 sdk/websites/Azure.ResourceManager.AppService/samples/autorest.tests.md delete mode 100644 sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/autorest.tests.md delete mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/samples/autorest.tests.md diff --git a/eng/templates/Azure.ResourceManager.Template/samples/autorest.tests.md b/eng/templates/Azure.ResourceManager.Template/samples/autorest.tests.md deleted file mode 100644 index e67d2128800f..000000000000 --- a/eng/templates/Azure.ResourceManager.Template/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ProviderShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/eng/templates/Azure.ResourceManager.Template/src/autorest.md b/eng/templates/Azure.ResourceManager.Template/src/autorest.md index 6de2fd4244cd..1069e7124e5c 100644 --- a/eng/templates/Azure.ResourceManager.Template/src/autorest.md +++ b/eng/templates/Azure.ResourceManager.Template/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.ProviderShortName require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/ProviderNameLowercase/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md b/sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md deleted file mode 100644 index 723360f4ddff..000000000000 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Advisor.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/autorest.md b/sdk/advisor/Azure.ResourceManager.Advisor/src/autorest.md index 3606211dc6e6..792b35dc9efd 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/src/autorest.md +++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Advisor require: https://github.com/Azure/azure-rest-api-specs/blob/db6d33733cd1eb939b863a6cdbcb9de12ac002e1/specification/advisor/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/autorest.tests.md b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/autorest.tests.md deleted file mode 100644 index 39205bdd304d..000000000000 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AgFoodPlatform.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/autorest.md b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/autorest.md index 823cded25338..18ec852236c5 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/autorest.md +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.AgFoodPlatform require: https://github.com/Azure/azure-rest-api-specs/tree/e31e3938529269e0e6a81f60b2fdc6d2aec5b9df/specification/agrifood/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/autorest.tests.md b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/autorest.tests.md deleted file mode 100644 index 233b27732df7..000000000000 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AlertsManagement.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/autorest.md b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/autorest.md index 30ada7468d58..6ae9eaba86fa 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/autorest.md +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.AlertsManagement require: https://github.com/Azure/azure-rest-api-specs/blob/0077b4a8c5071d3ab33fd9f9ba013581c9a66b8f/specification/alertsmanagement/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md b/sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md deleted file mode 100644 index 0bd1e8858f18..000000000000 --- a/sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DevTestLabs.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md deleted file mode 100644 index 3cec8947873f..000000000000 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ApiManagement.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/autorest.md b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/autorest.md index 0b91aba1f9ff..87f2761cdd08 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/autorest.md +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ApiManagement require: https://github.com/Azure/azure-rest-api-specs/blob/2f28b5026a4b44adefd0237087acb0c48cfe31a6/specification/apimanagement/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/autorest.tests.md b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/autorest.tests.md deleted file mode 100644 index 7bab832b2de4..000000000000 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AppComplianceAutomation.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md index d0fc4ee7787b..49fb8aa92d95 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.AppComplianceAutomation require: https://github.com/Azure/azure-rest-api-specs/blob/da15318e582f0cd1ea01e7a2556190c98aa1578f/specification/appcomplianceautomation/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/autorest.tests.md b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/autorest.tests.md deleted file mode 100644 index 75a3cab0e944..000000000000 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AppConfiguration.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md index 4c2d39836b54..902086da8c9d 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.AppConfiguration require: https://github.com/Azure/azure-rest-api-specs/blob/d7b7399fb1e1a328b49cd6a998714c6efb877bf2/specification/appconfiguration/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/autorest.tests.md b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/autorest.tests.md deleted file mode 100644 index ea62bd9b76b3..000000000000 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/autorest.tests.md +++ /dev/null @@ -1,17 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ApplicationInsights.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - LiveToken_Get - - WorkItemConfigurations_Create - - WorkItemConfigurations_UpdateItem -``` diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md index 0aa87a3d2567..3153c0c55f08 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md @@ -11,6 +11,13 @@ namespace: Azure.ResourceManager.ApplicationInsights require: https://github.com/Azure/azure-rest-api-specs/blob/1fea23ac36b111293dc3efc30f725e9ebb790f7f/specification/applicationinsights/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - LiveToken_Get + - WorkItemConfigurations_Create + - WorkItemConfigurations_UpdateItem skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md b/sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md deleted file mode 100644 index ead50012fc14..000000000000 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AppPlatform.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/samples/autorest.tests.md b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/samples/autorest.tests.md deleted file mode 100644 index 3723d2e45e8f..000000000000 --- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ArcScVmm.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/autorest.md b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/autorest.md index 061362249d6b..b65446922992 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/autorest.md +++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.ArcScVmm require: https://github.com/Azure/azure-rest-api-specs/blob/ba936cf8f3b4720dc025837281241fdc903f7e4d/specification/scvmm/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/samples/autorest.tests.md b/sdk/attestation/Azure.ResourceManager.Attestation/samples/autorest.tests.md deleted file mode 100644 index ff10ae95676a..000000000000 --- a/sdk/attestation/Azure.ResourceManager.Attestation/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Attestation.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md b/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md index d3508877b062..e0867a569090 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md +++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md @@ -13,6 +13,11 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/4270cc435fd2496bdb2a tag: package-2021-06-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - EligibleChildResources_Get skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/autorest.tests.md b/sdk/authorization/Azure.ResourceManager.Authorization/samples/autorest.tests.md deleted file mode 100644 index 04d9d1fdbdb8..000000000000 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - EligibleChildResources_Get -``` diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/autorest.md b/sdk/authorization/Azure.ResourceManager.Authorization/src/autorest.md index 98fc98222b81..09834621e058 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/src/autorest.md +++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/a436672b07fb1fe276c2 tag: package-2022-04-01 output-folder: Generated/ clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true rename-mapping: diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/autorest.tests.md b/sdk/automanage/Azure.ResourceManager.Automanage/samples/autorest.tests.md deleted file mode 100644 index 8215ace59904..000000000000 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Automanage.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/autorest.md b/sdk/automanage/Azure.ResourceManager.Automanage/src/autorest.md index 8c33c5721e5f..aa5604b89237 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/src/autorest.md +++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/autorest.md @@ -8,6 +8,9 @@ namespace: Azure.ResourceManager.Automanage require: https://github.com/Azure/azure-rest-api-specs/blob/4b5fe2fb0a5066c4ff2bd429dbd5e1afda6afab3/specification/automanage/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/autorest.tests.md b/sdk/automation/Azure.ResourceManager.Automation/samples/autorest.tests.md deleted file mode 100644 index 528dd23691fb..000000000000 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Automation.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/autorest.md b/sdk/automation/Azure.ResourceManager.Automation/src/autorest.md index d5b11fb52446..fee1b8f7a8d1 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/src/autorest.md +++ b/sdk/automation/Azure.ResourceManager.Automation/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Automation require: https://github.com/Azure/azure-rest-api-specs/blob/d1b0569d8adbd342a1111d6a69764d099f5f717c/specification/automation/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/autorest.tests.md b/sdk/avs/Azure.ResourceManager.Avs/samples/autorest.tests.md deleted file mode 100644 index c8de211354ab..000000000000 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Avs.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/autorest.md b/sdk/avs/Azure.ResourceManager.Avs/src/autorest.md index b7475326a05e..ee59a4f013d8 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/src/autorest.md +++ b/sdk/avs/Azure.ResourceManager.Avs/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Avs require: https://github.com/Azure/azure-rest-api-specs/blob/2ecbe51762643c7f6b6c6d8dd604dd934a1cc808/specification/vmware/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/autorest.tests.md b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/autorest.tests.md deleted file mode 100644 index d955d93435d7..000000000000 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Hci.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/autorest.md b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/autorest.md index 6345d1416ea4..3494894a2a9a 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/autorest.md +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Hci require: https://github.com/Azure/azure-rest-api-specs/blob/d82babc9bd0fa25260d04e52d841c2a6f59792c8/specification/azurestackhci/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md b/sdk/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md deleted file mode 100644 index c0b8bfd6ebed..000000000000 --- a/sdk/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Batch.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md b/sdk/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md deleted file mode 100644 index 1b98ee4e7702..000000000000 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Billing.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md b/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md index 804f927269aa..268fc43333d0 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md +++ b/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md @@ -12,6 +12,11 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e tag: package-2021-10 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Assignments_CreateOrUpdate skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/autorest.tests.md b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/autorest.tests.md deleted file mode 100644 index 21a76572aedb..000000000000 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Blueprint.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Assignments_CreateOrUpdate -``` diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md index 6fb0dfb32d14..feeb634d17a1 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md @@ -12,6 +12,11 @@ namespace: Azure.ResourceManager.Blueprint require: https://github.com/Azure/azure-rest-api-specs/blob/4270cc435fd2496bdb2a5f056dbddb463e52c7c2/specification/blueprint/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Assignments_CreateOrUpdate skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/autorest.tests.md b/sdk/botservice/Azure.ResourceManager.BotService/samples/autorest.tests.md deleted file mode 100644 index 4f9acdf7960b..000000000000 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.BotService.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/botservice/Azure.ResourceManager.BotService/src/autorest.md b/sdk/botservice/Azure.ResourceManager.BotService/src/autorest.md index 867a3760cab6..f75942a88374 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/src/autorest.md +++ b/sdk/botservice/Azure.ResourceManager.BotService/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.BotService require: https://github.com/Azure/azure-rest-api-specs/blob/8468620c009664ed91a3148c04cf77b6c8eb7b6f/specification/botservice/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/autorest.tests.md b/sdk/cdn/Azure.ResourceManager.Cdn/samples/autorest.tests.md deleted file mode 100644 index cfa9f2398e6c..000000000000 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/autorest.tests.md +++ /dev/null @@ -1,16 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Cdn.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - LogAnalytics_GetLogAnalyticsMetrics - - LogAnalytics_GetWafLogAnalyticsMetrics -``` \ No newline at end of file diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md b/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md index c9d8a708fc6b..3b415f712749 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md @@ -10,6 +10,12 @@ title: CdnManagementClient require: https://github.com/Azure/azure-rest-api-specs/blob/236c7ce93e9bcb875e1fbe1db8602a3a159ee2ae/specification/cdn/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - LogAnalytics_GetLogAnalyticsMetrics + - LogAnalytics_GetWafLogAnalyticsMetrics skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/autorest.tests.md b/sdk/chaos/Azure.ResourceManager.Chaos/samples/autorest.tests.md deleted file mode 100644 index 549927a82623..000000000000 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Chaos.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/src/autorest.md b/sdk/chaos/Azure.ResourceManager.Chaos/src/autorest.md index a492ee22b8f1..097598dffe9d 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/src/autorest.md +++ b/sdk/chaos/Azure.ResourceManager.Chaos/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.Chaos require: https://github.com/Azure/azure-rest-api-specs/blob/1114a5b1f0831d8b3de07db7248c8a4f38c5bbb7/specification/chaos/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/autorest.tests.md b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/src/autorest.md b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/src/autorest.md index 9ae85623efe0..d734eab710e7 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/src/autorest.md +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.CognitiveServices require: https://github.com/Azure/azure-rest-api-specs/blob/ba1884683c35d1ea63d229a7106f207e507c3861/specification/cognitiveservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/autorest.tests.md b/sdk/communication/Azure.ResourceManager.Communication/samples/autorest.tests.md deleted file mode 100644 index 799da667683c..000000000000 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Communication.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/autorest.md b/sdk/communication/Azure.ResourceManager.Communication/src/autorest.md index 00c6b2e7589c..13d245acd9bd 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/autorest.md +++ b/sdk/communication/Azure.ResourceManager.Communication/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Communication require: https://github.com/Azure/azure-rest-api-specs/blob/bbee55edb05169aba6d8d1944c0e2bc2b9408943/specification/communication/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/autorest.tests.md b/sdk/compute/Azure.ResourceManager.Compute/samples/autorest.tests.md deleted file mode 100644 index c0c1c354b713..000000000000 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Compute.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md index c21cedf8b058..f8f12796ae75 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md +++ b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md @@ -13,6 +13,9 @@ namespace: Azure.ResourceManager.Compute require: https://github.com/Azure/azure-rest-api-specs/blob/cd53bce8cf73f7e7ba6cf5ab32baffbe529ae1fb/specification/compute/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/autorest.tests.md b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/autorest.tests.md deleted file mode 100644 index b66f0d1587f4..000000000000 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ConfidentialLedger.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md index a9ec317b41e8..6c65c5ebfa7f 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ConfidentialLedger require: https://github.com/Azure/azure-rest-api-specs/blob/756495dd7e0e2f5181039def47a8c85ff0787b66/specification/confidentialledger/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/samples/autorest.tests.md b/sdk/confluent/Azure.ResourceManager.Confluent/samples/autorest.tests.md deleted file mode 100644 index dc1b249b70ed..000000000000 --- a/sdk/confluent/Azure.ResourceManager.Confluent/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Confluent.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/src/autorest.md b/sdk/confluent/Azure.ResourceManager.Confluent/src/autorest.md index 2735379d0d6f..5bbb0e679b5f 100644 --- a/sdk/confluent/Azure.ResourceManager.Confluent/src/autorest.md +++ b/sdk/confluent/Azure.ResourceManager.Confluent/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Confluent require: https://github.com/Azure/azure-rest-api-specs/blob/80065490402157d0df0dd37ab347c651b22eb576/specification/confluent/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/autorest.tests.md b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/autorest.tests.md deleted file mode 100644 index 9654d0045382..000000000000 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ConnectedVMwarevSphere.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md index 0bd0bb6ae96e..b3b3a58a6312 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md @@ -9,6 +9,9 @@ namespace: Azure.ResourceManager.ConnectedVMwarevSphere require: https://github.com/Azure/azure-rest-api-specs/blob/58891380ba22c3565ca884dee3831445f638b545/specification/connectedvmware/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/samples/autorest.tests.md b/sdk/consumption/Azure.ResourceManager.Consumption/samples/autorest.tests.md deleted file mode 100644 index 7be95789b796..000000000000 --- a/sdk/consumption/Azure.ResourceManager.Consumption/samples/autorest.tests.md +++ /dev/null @@ -1,39 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Consumption.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - AggregatedCost_GetForBillingPeriodByManagementGroup - - Balances_GetByBillingAccount - - Balances_GetForBillingPeriodByBillingAccount - - ReservationsSummaries_ListByReservationOrder - - ReservationsDetails_ListByReservationOrder - - ReservationTransactions_List - - ReservationTransactions_ListByBillingProfile - - Events_ListByBillingProfile - - Events_ListByBillingAccount - - Lots_ListByBillingProfile - - Lots_ListByBillingAccount - - Lots_ListByCustomer - - Credits_Get - - ReservationsDetails_ListByReservationOrderAndReservation - - ReservationsSummaries_ListByReservationOrderAndReservation - - Budgets_CreateOrUpdate - - PriceSheet_GetByBillingPeriod - - UsageDetails_List - - Marketplaces_List - - Tags_Get - - Charges_List - - ReservationsSummaries_List - - ReservationsDetails_List - - ReservationRecommendations_List - - ReservationRecommendationDetails_Get -``` diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md b/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md index 6faaa1b68cdd..b5a5b0eff000 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md +++ b/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md @@ -11,6 +11,35 @@ namespace: Azure.ResourceManager.Consumption require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/consumption/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - AggregatedCost_GetForBillingPeriodByManagementGroup + - Balances_GetByBillingAccount + - Balances_GetForBillingPeriodByBillingAccount + - ReservationsSummaries_ListByReservationOrder + - ReservationsDetails_ListByReservationOrder + - ReservationTransactions_List + - ReservationTransactions_ListByBillingProfile + - Events_ListByBillingProfile + - Events_ListByBillingAccount + - Lots_ListByBillingProfile + - Lots_ListByBillingAccount + - Lots_ListByCustomer + - Credits_Get + - ReservationsDetails_ListByReservationOrderAndReservation + - ReservationsSummaries_ListByReservationOrderAndReservation + - Budgets_CreateOrUpdate + - PriceSheet_GetByBillingPeriod + - UsageDetails_List + - Marketplaces_List + - Tags_Get + - Charges_List + - ReservationsSummaries_List + - ReservationsDetails_List + - ReservationRecommendations_List + - ReservationRecommendationDetails_Get skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/autorest.tests.md b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/autorest.tests.md deleted file mode 100644 index e8694e7eb72e..000000000000 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.AppContainers.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/src/autorest.md b/sdk/containerapps/Azure.ResourceManager.AppContainers/src/autorest.md index c1ee5079c14e..07c617152b74 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/src/autorest.md +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/ad997e99eccc15b7ab4c # tag: package-2023-05 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/autorest.tests.md b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/autorest.tests.md deleted file mode 100644 index 89aa8ca43244..000000000000 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ContainerInstance.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/autorest.md b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/autorest.md index 93c5a52ee5a9..b5dd51429cce 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/autorest.md +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/autorest.md @@ -10,6 +10,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/7990bc19fe4941681605 tag: package-2023-05 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/autorest.tests.md b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/autorest.tests.md deleted file mode 100644 index 9e675e1e60bb..000000000000 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ContainerRegistry.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/autorest.md b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/autorest.md index a782ef28b178..ee505f5d5954 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/autorest.md +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/8a28143c7271d4496296 tag: package-2022-12 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/autorest.tests.md b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/autorest.tests.md deleted file mode 100644 index f95bf96efc25..000000000000 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.CosmosDBForPostgreSql.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/src/autorest.md b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/src/autorest.md index 0aabde0a80f5..c8420f65e018 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/src/autorest.md +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.CosmosDBForPostgreSql require: https://github.com/Azure/azure-rest-api-specs/blob/84dfc2bed5cd1db42469895b0adaf5738e4802bc/specification/postgresqlhsc/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/autorest.tests.md b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/autorest.tests.md deleted file mode 100644 index 9ef4f48864fc..000000000000 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/autorest.tests.md +++ /dev/null @@ -1,19 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.CostManagement.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - BenefitRecommendations_List - - Forecast_Usage - - Dimensions_List - - Query_Usage - - ScheduledActions_CheckNameAvailabilityByScope -``` \ No newline at end of file diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md b/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md index 144a35c6d8b8..8741c679c3fc 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md @@ -10,6 +10,15 @@ namespace: Azure.ResourceManager.CostManagement require: https://github.com/Azure/azure-rest-api-specs/blob/20e9229b38b94c8975386b75c652b75e6d691995/specification/cost-management/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - BenefitRecommendations_List + - Forecast_Usage + - Dimensions_List + - Query_Usage + - ScheduledActions_CheckNameAvailabilityByScope skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/autorest.tests.md b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/autorest.tests.md deleted file mode 100644 index af42a148e652..000000000000 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.CustomerInsights.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/src/autorest.md b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/src/autorest.md index 7d57e4fd5a45..e5c2e7b40a0a 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/src/autorest.md +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.CustomerInsights require: https://github.com/Azure/azure-rest-api-specs/blob/066eb8c81e14e0f3b22b6700c67693eef5f79ea9/specification/customer-insights/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/databox/Azure.ResourceManager.DataBox/samples/autorest.tests.md b/sdk/databox/Azure.ResourceManager.DataBox/samples/autorest.tests.md deleted file mode 100644 index bc824477d553..000000000000 --- a/sdk/databox/Azure.ResourceManager.DataBox/samples/autorest.tests.md +++ /dev/null @@ -1,16 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataBox.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Jobs_Update - - Mitigate -``` diff --git a/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md b/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md index 2288a2bc44e6..8b77eecea126 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md +++ b/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md @@ -11,6 +11,12 @@ namespace: Azure.ResourceManager.DataBox require: https://github.com/Azure/azure-rest-api-specs/blob/8e20af0463637085b47a018ec9c8372a2242bdac/specification/databox/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Jobs_Update + - Mitigate skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/autorest.tests.md b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/autorest.tests.md deleted file mode 100644 index 49d73508dcee..000000000000 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataBoxEdge.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md index d6a351063b1e..7535aa91f95e 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.DataBoxEdge require: https://github.com/Azure/azure-rest-api-specs/blob/df70965d3a207eb2a628c96aa6ed935edc6b7911/specification/databoxedge/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/autorest.tests.md b/sdk/datadog/Azure.ResourceManager.Datadog/samples/autorest.tests.md deleted file mode 100644 index 612a95dce1c6..000000000000 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Datadog.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/src/autorest.md b/sdk/datadog/Azure.ResourceManager.Datadog/src/autorest.md index 42d4eeee277c..4a42d598aeef 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/src/autorest.md +++ b/sdk/datadog/Azure.ResourceManager.Datadog/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Datadog require: https://github.com/Azure/azure-rest-api-specs/blob/066eb8c81e14e0f3b22b6700c67693eef5f79ea9/specification/datadog/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/autorest.tests.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/autorest.tests.md deleted file mode 100644 index 0f3515fca802..000000000000 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataFactory.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - ChangeDataCapture_CreateOrUpdate # Missing required property -``` diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index 25fcf6f84bb4..c1b6733dae5d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -12,6 +12,11 @@ namespace: Azure.ResourceManager.DataFactory require: https://github.com/Azure/azure-rest-api-specs/blob/6885351bec8d6a2cea85c5aa793e53616e5f517b/specification/datafactory/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - ChangeDataCapture_CreateOrUpdate # Missing required property skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/autorest.tests.md b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/autorest.tests.md deleted file mode 100644 index 3ffbc7628905..000000000000 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataLakeAnalytics.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/src/autorest.md b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/src/autorest.md index 0f26a44754ff..824b8d178b36 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/src/autorest.md +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/src/autorest.md @@ -13,6 +13,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/066eb8c81e14e0f3b22b tag: package-2016-11 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/autorest.tests.md b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/autorest.tests.md deleted file mode 100644 index 7581af8075a4..000000000000 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataMigration.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/src/autorest.md b/sdk/datamigration/Azure.ResourceManager.DataMigration/src/autorest.md index b2382c5badb7..8f2d819cc513 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/src/autorest.md +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.DataMigration require: https://github.com/Azure/azure-rest-api-specs/blob/2f28b5026a4b44adefd0237087acb0c48cfe31a6/specification/datamigration/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/autorest.tests.md b/sdk/datashare/Azure.ResourceManager.DataShare/samples/autorest.tests.md deleted file mode 100644 index 82782c21e0d4..000000000000 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataShare.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/src/autorest.md b/sdk/datashare/Azure.ResourceManager.DataShare/src/autorest.md index 5bb9d98e1286..6e93242bc24f 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/src/autorest.md +++ b/sdk/datashare/Azure.ResourceManager.DataShare/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/df70965d3a207eb2a628 tag: package-2021-08-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/samples/autorest.tests.md b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/samples/autorest.tests.md deleted file mode 100644 index ac707614ff4e..000000000000 --- a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DeploymentManager.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Rollouts_CreateOrUpdate -``` diff --git a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md index 76279e486d90..d3eba66cbbfc 100644 --- a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md +++ b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md @@ -12,6 +12,11 @@ namespace: Azure.ResourceManager.DeploymentManager require: https://github.com/Azure/azure-rest-api-specs/blob/2f28b5026a4b44adefd0237087acb0c48cfe31a6/specification/deploymentmanager/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Rollouts_CreateOrUpdate skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/autorest.tests.md b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/autorest.tests.md deleted file mode 100644 index 1f31a42b3c59..000000000000 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DesktopVirtualization.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/autorest.md b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/autorest.md index cd2d22e27eca..8d4210a1f3a2 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/autorest.md +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/autorest.md @@ -13,6 +13,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/45765fbbfd14084eb7a1 # tag: package-2022-09 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/autorest.tests.md b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/autorest.tests.md deleted file mode 100644 index 0543973c93ac..000000000000 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DevCenter.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/src/autorest.md b/sdk/devcenter/Azure.ResourceManager.DevCenter/src/autorest.md index ab9f224b0ff1..7c5500f49514 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/src/autorest.md +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.DevCenter require: https://github.com/Azure/azure-rest-api-specs/blob/07c55de803057861912799405580ea9d022853fc/specification/devcenter/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/autorest.tests.md b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/autorest.tests.md deleted file mode 100644 index 05c83dfe483a..000000000000 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DeviceProvisioningServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/src/autorest.md b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/src/autorest.md index ef6ce9728fb9..6af218ea8a30 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/src/autorest.md +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.DeviceProvisioningServices require: https://github.com/Azure/azure-rest-api-specs/blob/df70965d3a207eb2a628c96aa6ed935edc6b7911/specification/deviceprovisioningservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/autorest.tests.md b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/autorest.tests.md deleted file mode 100644 index e604888ae9f6..000000000000 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DeviceUpdate.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/autorest.md b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/autorest.md index 10b42b62c6ba..221323422ea2 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/autorest.md +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/autorest.md @@ -9,6 +9,9 @@ namespace: Azure.ResourceManager.DeviceUpdate require: https://github.com/Azure/azure-rest-api-specs/blob/a1081882ea6ae33e65da9b86f6a031175c1f8fda/specification/deviceupdate/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/autorest.tests.md b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/autorest.tests.md deleted file mode 100644 index d79d72be3eeb..000000000000 --- a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DevSpaces.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/devspaces/Azure.ResourceManager.DevSpaces/src/autorest.md b/sdk/devspaces/Azure.ResourceManager.DevSpaces/src/autorest.md index 3bac5f0b2bac..05169ee5c191 100644 --- a/sdk/devspaces/Azure.ResourceManager.DevSpaces/src/autorest.md +++ b/sdk/devspaces/Azure.ResourceManager.DevSpaces/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.DevSpaces require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/devspaces/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/autorest.tests.md b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/autorest.tests.md deleted file mode 100644 index 0bd1e8858f18..000000000000 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DevTestLabs.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/src/autorest.md b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/src/autorest.md index a9531bb39a6e..4d71cbaa7c75 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/src/autorest.md +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.DevTestLabs require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/devtestlabs/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/autorest.tests.md b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/autorest.tests.md deleted file mode 100644 index 1dea657d2230..000000000000 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DigitalTwins.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/autorest.md b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/autorest.md index c55ffc77edff..998aa6df3134 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/autorest.md +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.DigitalTwins require: https://github.com/Azure/azure-rest-api-specs/blob/71e8a754d34d1af32bf81f23445f286422ca4c40/specification/digitaltwins/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/dns/Azure.ResourceManager.Dns/samples/autorest.tests.md b/sdk/dns/Azure.ResourceManager.Dns/samples/autorest.tests.md deleted file mode 100644 index c3752924e00e..000000000000 --- a/sdk/dns/Azure.ResourceManager.Dns/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Dns.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: false -``` diff --git a/sdk/dns/Azure.ResourceManager.Dns/src/autorest.md b/sdk/dns/Azure.ResourceManager.Dns/src/autorest.md index e2fd64da452c..0b97d5d0df96 100644 --- a/sdk/dns/Azure.ResourceManager.Dns/src/autorest.md +++ b/sdk/dns/Azure.ResourceManager.Dns/src/autorest.md @@ -9,6 +9,9 @@ namespace: Azure.ResourceManager.Dns require: https://github.com/Azure/azure-rest-api-specs/blob/48a49f06399fbdf21f17406b5042f96a5d573bf0/specification/dns/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/samples/autorest.tests.md b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/samples/autorest.tests.md deleted file mode 100644 index e3403f920b7a..000000000000 --- a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DnsResolver.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: false #true -``` diff --git a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md index 5badcd97d569..158d572f90d2 100644 --- a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md +++ b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md @@ -9,6 +9,10 @@ library-name: dnsresolver namespace: Azure.ResourceManager.DnsResolver output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + sample: false #true + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md deleted file mode 100644 index 165e90daab39..000000000000 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.EdgeOrder.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/autorest.md b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/autorest.md index 6cbbcb84d81d..ae1d74814684 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/autorest.md +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.EdgeOrder require: https://github.com/Azure/azure-rest-api-specs/blob/58891380ba22c3565ca884dee3831445f638b545/specification/edgeorder/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/autorest.tests.md b/sdk/elastic/Azure.ResourceManager.Elastic/samples/autorest.tests.md deleted file mode 100644 index d30aeb22314c..000000000000 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Elastic.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/src/autorest.md b/sdk/elastic/Azure.ResourceManager.Elastic/src/autorest.md index a1a968dc4ffc..88086cd10a34 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/src/autorest.md +++ b/sdk/elastic/Azure.ResourceManager.Elastic/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.Elastic require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/elastic/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/autorest.tests.md b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/autorest.tests.md deleted file mode 100644 index c62a0b0cbd03..000000000000 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ElasticSan.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/src/autorest.md b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/src/autorest.md index c92703eb266b..87b5c7d27979 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/src/autorest.md +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.ElasticSan require: https://github.com/Azure/azure-rest-api-specs/blob/1af2861030243b06ee35172c95899f4809eedfc7/specification/elasticsan/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/autorest.tests.md b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/autorest.tests.md deleted file mode 100644 index aa0ab3a58e69..000000000000 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/autorest.tests.md +++ /dev/null @@ -1,21 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.EventGrid.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Topics_ListEventTypes # because we use customized code to rewrite this operation - - EventSubscriptions_ListGlobalBySubscriptionForTopicType # because we use customized code to rewrite this operation - - EventSubscriptions_ListGlobalByResourceGroupForTopicType # because we use customized code to rewrite this operation - - EventSubscriptions_ListRegionalByResourceGroupForTopicType # because we use customized code to rewrite this operation - - EventSubscriptions_ListRegionalBySubscriptionForTopicType # because we use customized code to rewrite this operation - - EventSubscriptions_ListRegionalByResourceGroup # because we use customized code to rewrite this operation - - EventSubscriptions_ListRegionalBySubscription # because we use customized code to rewrite this operation -``` diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md b/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md index 3b458a70ecd8..aad6aff1a5db 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md @@ -11,6 +11,17 @@ namespace: Azure.ResourceManager.EventGrid require: https://github.com/Azure/azure-rest-api-specs/blob/4b7481587132ce0bde5f0a6d6ab590129f7b7179/specification/eventgrid/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Topics_ListEventTypes # because we use customized code to rewrite this operation + - EventSubscriptions_ListGlobalBySubscriptionForTopicType # because we use customized code to rewrite this operation + - EventSubscriptions_ListGlobalByResourceGroupForTopicType # because we use customized code to rewrite this operation + - EventSubscriptions_ListRegionalByResourceGroupForTopicType # because we use customized code to rewrite this operation + - EventSubscriptions_ListRegionalBySubscriptionForTopicType # because we use customized code to rewrite this operation + - EventSubscriptions_ListRegionalByResourceGroup # because we use customized code to rewrite this operation + - EventSubscriptions_ListRegionalBySubscription # because we use customized code to rewrite this operation skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/autorest.tests.md b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/autorest.tests.md deleted file mode 100644 index 7c4931400e09..000000000000 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.EventHubs.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md index 1045cde2211c..ef2e0587de7e 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md @@ -10,6 +10,9 @@ output-folder: $(this-folder)/Generated require: https://github.com/Azure/azure-rest-api-specs/blob/969e0846e56a0869203bcc52773415c71115f59e/specification/eventhub/resource-manager/readme.md # tag: package-2022-10-preview clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/autorest.tests.md b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/autorest.tests.md deleted file mode 100644 index 8c1f4e1de771..000000000000 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ExtendedLocations.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/src/autorest.md b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/src/autorest.md index b72e38667dd8..5218779c5691 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/src/autorest.md +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ExtendedLocations require: https://github.com/Azure/azure-rest-api-specs/blob/691920cda83cc0b89a8c821d0bb285100fad22b4/specification/extendedlocation/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/autorest.tests.md b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/autorest.tests.md deleted file mode 100644 index 88414a5d9e81..000000000000 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.FluidRelay.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/src/autorest.md b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/src/autorest.md index 8ad14ab1c03b..9b56e9ed0b35 100644 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/src/autorest.md +++ b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.FluidRelay require: https://github.com/Azure/azure-rest-api-specs/blob/fbe071bba84e3e724573b3fc4efdeb041174d547/specification/fluidrelay/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/autorest.tests.md b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/autorest.md b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/autorest.md index 6f652287a663..5d614f5d09a5 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/autorest.md +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.FrontDoor require: https://github.com/Azure/azure-rest-api-specs/blob/aa8a23b8f92477d0fdce7af6ccffee1c604b3c56/specification/frontdoor/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/autorest.tests.md b/sdk/grafana/Azure.ResourceManager.Grafana/samples/autorest.tests.md deleted file mode 100644 index f8082ccc92e4..000000000000 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Grafana.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/src/autorest.md b/sdk/grafana/Azure.ResourceManager.Grafana/src/autorest.md index b670b4bbba0d..3cce3b1d1064 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/src/autorest.md +++ b/sdk/grafana/Azure.ResourceManager.Grafana/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Grafana require: https://github.com/Azure/azure-rest-api-specs/blob/6080b0126065467abbb3e096b25ed4ad6c22fa1f/specification/dashboard/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/autorest.tests.md b/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/autorest.tests.md deleted file mode 100644 index 212e284f844a..000000000000 --- a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.GraphServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/graphservices/Azure.ResourceManager.GraphServices/src/autorest.md b/sdk/graphservices/Azure.ResourceManager.GraphServices/src/autorest.md index 16918a2829a8..8c8aabcd37db 100644 --- a/sdk/graphservices/Azure.ResourceManager.GraphServices/src/autorest.md +++ b/sdk/graphservices/Azure.ResourceManager.GraphServices/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.GraphServices require: https://github.com/Azure/azure-rest-api-specs/blob/fe056966cf070be84e92dd2dc1b566bae35002cf/specification/graphservicesprod/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/autorest.tests.md b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/autorest.tests.md deleted file mode 100644 index 2883ab631a65..000000000000 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/autorest.tests.md +++ /dev/null @@ -1,16 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.GuestConfiguration.Samples - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - GuestConfigurationAssignments_SubscriptionList # skip this because this operation is replaced by customization code - - GuestConfigurationAssignments_RGList # skip this because this operation is replaced by customization code -``` diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md index 577d711a398e..565688e6d773 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md @@ -11,6 +11,12 @@ namespace: Azure.ResourceManager.GuestConfiguration require: https://github.com/Azure/azure-rest-api-specs/blob/58a1320584b1d26bf7dab969a2593cd22b39caec/specification/guestconfiguration/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - GuestConfigurationAssignments_SubscriptionList # skip this because this operation is replaced by customization code + - GuestConfigurationAssignments_RGList # skip this because this operation is replaced by customization code skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/autorest.tests.md b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/autorest.tests.md deleted file mode 100644 index 8d1bff4a426a..000000000000 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HardwareSecurityModules.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/autorest.md b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/autorest.md index 56ab958bbc93..fc5b8bc28ca7 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/autorest.md +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/d2a5b3d3d4ff66a5c2c2 #tag: package-2022-08-preview output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/autorest.tests.md b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/autorest.tests.md deleted file mode 100644 index 7afe2dde5007..000000000000 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HDInsight.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md index a75e32bbf898..16624abe82fc 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.HDInsight require: https://github.com/Azure/azure-rest-api-specs/blob/de37c47a625de64c0ac5bf76cf531527ba2feb77/specification/hdinsight/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/autorest.tests.md b/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/autorest.tests.md deleted file mode 100644 index 36df027d2917..000000000000 --- a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HealthBot.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/healthbot/Azure.ResourceManager.HealthBot/src/autorest.md b/sdk/healthbot/Azure.ResourceManager.HealthBot/src/autorest.md index 8cfbb8bee347..394276be5c63 100644 --- a/sdk/healthbot/Azure.ResourceManager.HealthBot/src/autorest.md +++ b/sdk/healthbot/Azure.ResourceManager.HealthBot/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e tag: package-2021-08-24 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/autorest.tests.md b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/autorest.tests.md deleted file mode 100644 index 280134542fde..000000000000 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HealthcareApis.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md index 7adbe816864f..27ce1aa047f8 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.HealthcareApis require: https://github.com/Azure/azure-rest-api-specs/blob/aa8a23b8f92477d0fdce7af6ccffee1c604b3c56/specification/healthcareapis/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/autorest.tests.md b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/autorest.tests.md deleted file mode 100644 index 8f2d49cfb289..000000000000 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/autorest.tests.md +++ /dev/null @@ -1,16 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HybridContainerService.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - HybridContainerService_ListOrchestrators - - HybridContainerService_ListVMSkus -``` diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md index 93638ff517f6..63280397c73b 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md @@ -12,6 +12,12 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/844b06b77ca841a151a6 # tag: package-preview-2022-09 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - HybridContainerService_ListOrchestrators + - HybridContainerService_ListVMSkus skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/autorest.tests.md b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/autorest.tests.md deleted file mode 100644 index 025c25d37024..000000000000 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HybridCompute.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/src/autorest.md b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/src/autorest.md index 71656b128737..833e9f084c3b 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/src/autorest.md +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.HybridCompute require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/hybridcompute/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/autorest.tests.md b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/autorest.tests.md deleted file mode 100644 index a93a05f89295..000000000000 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.HybridConnectivity.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md index 96b24635a683..2e482d75a349 100644 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.HybridConnectivity require: https://github.com/Azure/azure-rest-api-specs/blob/3c162c839b8fe17544d9a3be8383a835dd42eb28/specification/hybridconnectivity/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/autorest.tests.md b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/autorest.tests.md deleted file mode 100644 index 3abca0a8fc60..000000000000 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Kubernetes.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/autorest.md b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/autorest.md index 3aae5c5cc08f..d90d8b5335fb 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/autorest.md +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c tag: package-2022-05-01-preview output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/autorest.tests.md b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/autorest.tests.md deleted file mode 100644 index 95828c5f77ba..000000000000 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.IotFirmwareDefense.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/src/autorest.md b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/src/autorest.md index 57be28869a71..33473ddad828 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/src/autorest.md +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.IotFirmwareDefense require: https://github.com/Azure/azure-rest-api-specs/blob/97a3d07807c5e7f23e0f47f532d0555ff2aa5d5d/specification/fist/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/autorest.tests.md b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/autorest.tests.md deleted file mode 100644 index 16aab727bf14..000000000000 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.IotCentral.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/src/autorest.md b/sdk/iotcentral/Azure.ResourceManager.IotCentral/src/autorest.md index 2a1176dc3a2a..e5ae822fe02a 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/src/autorest.md +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.IotCentral require: https://github.com/Azure/azure-rest-api-specs/blob/6cb07747e61d4068750cb2666ab1b32197037dbf/specification/iotcentral/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/autorest.tests.md b/sdk/iothub/Azure.ResourceManager.IotHub/samples/autorest.tests.md deleted file mode 100644 index ddfbff12c034..000000000000 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.IotHub.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/src/autorest.md b/sdk/iothub/Azure.ResourceManager.IotHub/src/autorest.md index 3d934f1955ec..acde749d64c4 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/src/autorest.md +++ b/sdk/iothub/Azure.ResourceManager.IotHub/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.IotHub require: https://github.com/Azure/azure-rest-api-specs/blob/1df6d6f671dc5059016fbc2c0a624e01f0b2972c/specification/iothub/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/autorest.tests.md b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/autorest.tests.md deleted file mode 100644 index 158aa46a8e1a..000000000000 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.KeyVault.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/autorest.md b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/autorest.md index 9e92148bc205..2b1ab285db77 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/autorest.md +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.KeyVault tag: package-2023-02 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/autorest.tests.md b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/autorest.tests.md deleted file mode 100644 index 188d12631297..000000000000 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.KubernetesConfiguration.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/src/autorest.md b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/src/autorest.md index 420e3afc97b2..8ee9d63e9b87 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/src/autorest.md +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.KubernetesConfiguration require: https://github.com/Azure/azure-rest-api-specs/blob/e812b54127fad6c9bc2407b33980b0fe385b7717/specification/kubernetesconfiguration/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/autorest.tests.md b/sdk/kusto/Azure.ResourceManager.Kusto/samples/autorest.tests.md deleted file mode 100644 index 1f8721fd3e0b..000000000000 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Kusto.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/src/autorest.md b/sdk/kusto/Azure.ResourceManager.Kusto/src/autorest.md index 52fbe7ebc7f0..6085b145f2e8 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/src/autorest.md +++ b/sdk/kusto/Azure.ResourceManager.Kusto/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Kusto require: https://github.com/Azure/azure-rest-api-specs/blob/4c49a05d22106119afd2078a982f30855b91a010/specification/azure-kusto/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/autorest.tests.md b/sdk/labservices/Azure.ResourceManager.LabServices/samples/autorest.tests.md deleted file mode 100644 index 64fb323630db..000000000000 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.LabServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/src/autorest.md b/sdk/labservices/Azure.ResourceManager.LabServices/src/autorest.md index 866a67995816..3dfbcdd27a39 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/src/autorest.md +++ b/sdk/labservices/Azure.ResourceManager.LabServices/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.LabServices require: https://github.com/Azure/azure-rest-api-specs/blob/aa8a23b8f92477d0fdce7af6ccffee1c604b3c56/specification/labservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/autorest.tests.md b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/autorest.tests.md deleted file mode 100644 index e3c37f7e3e67..000000000000 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.LoadTesting.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/src/autorest.md b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/src/autorest.md index 97c643b88aa7..600a1ab709f8 100644 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/src/autorest.md +++ b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.LoadTesting require: https://github.com/Azure/azure-rest-api-specs/blob/3dae9445631a0e27d743c1355f8cb82391d1634f/specification/loadtestservice/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/autorest.tests.md b/sdk/logic/Azure.ResourceManager.Logic/samples/autorest.tests.md deleted file mode 100644 index b9cf314bf10e..000000000000 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Logic.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md b/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md index dfbc971cbf33..d7adef5348f7 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md +++ b/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Logic require: https://github.com/Azure/azure-rest-api-specs/blob/353d84dac009c19ae776c25eb361f07e85f26c8d/specification/logic/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/autorest.tests.md b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/autorest.tests.md deleted file mode 100644 index 15a458f070be..000000000000 --- a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.MachineLearningCompute.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/src/autorest.md b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/src/autorest.md index c754c3981fef..61e58806c713 100644 --- a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/src/autorest.md +++ b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.MachineLearningCompute require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/machinelearningcompute/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/autorest.tests.md b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/autorest.tests.md deleted file mode 100644 index 578b8ed85be6..000000000000 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.MachineLearning.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Datastores_List -``` diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md index 2a08685c542e..524ba33350b3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md @@ -11,6 +11,11 @@ require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b32e1896f3 tag: package-2022-10 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Datastores_List skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/autorest.tests.md b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/autorest.tests.md deleted file mode 100644 index 7f2bcd36e69c..000000000000 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Maintenance.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/src/autorest.md b/sdk/maintenance/Azure.ResourceManager.Maintenance/src/autorest.md index 43b144f2efed..3d17905c886c 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/src/autorest.md +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/e680f9bf4f154ec427ba #tag: package-2023-04 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/autorest.tests.md b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/autorest.tests.md deleted file mode 100644 index 4d8e1cba7b36..000000000000 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ManagedNetwork.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/src/autorest.md b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/src/autorest.md index 62b6cdb8c9bd..6bb2534c733a 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/src/autorest.md +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.ManagedNetwork require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/managednetwork/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/autorest.tests.md b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/autorest.tests.md deleted file mode 100644 index d0d06e4d5174..000000000000 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ManagedNetworkFabric.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/autorest.md b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/autorest.md index e5d172cd261d..fb7f7252f963 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/autorest.md +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c12 #tag: package-2023-06-15 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/autorest.tests.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/autorest.tests.md deleted file mode 100644 index 9cde3176100c..000000000000 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ManagedServiceIdentities.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md index 66308b379ee1..8b768afebe0e 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/1e790cfc5ee4e7ff98f9 tag: package-2023-01-31 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/autorest.tests.md b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/autorest.tests.md deleted file mode 100644 index aaac7c95cd19..000000000000 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ManagedServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - OperationsWithScope_List -``` diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md b/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md index 3c460801bb75..55d768dd7e84 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md @@ -12,6 +12,11 @@ namespace: Azure.ResourceManager.ManagedServices require: https://github.com/Azure/azure-rest-api-specs/blob/55dd4f72d2b2769c1e02f2b952e597f806d40f9a/specification/managedservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - OperationsWithScope_List skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/autorest.tests.md b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/autorest.tests.md deleted file mode 100644 index 1aa256f4bc97..000000000000 --- a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ManagementPartner.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/src/autorest.md b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/src/autorest.md index fd39c942ce28..f0e797972811 100644 --- a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/src/autorest.md +++ b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.ManagementPartner require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/managementpartner/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/maps/Azure.ResourceManager.Maps/samples/autorest.tests.md b/sdk/maps/Azure.ResourceManager.Maps/samples/autorest.tests.md deleted file mode 100644 index eb271db53031..000000000000 --- a/sdk/maps/Azure.ResourceManager.Maps/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Maps.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/maps/Azure.ResourceManager.Maps/src/autorest.md b/sdk/maps/Azure.ResourceManager.Maps/src/autorest.md index 3b8cf33c3bbf..7dc2a547e20e 100644 --- a/sdk/maps/Azure.ResourceManager.Maps/src/autorest.md +++ b/sdk/maps/Azure.ResourceManager.Maps/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Maps require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/maps/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/autorest.tests.md b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/autorest.tests.md deleted file mode 100644 index 3ed38c54486f..000000000000 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Marketplace.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/src/autorest.md b/sdk/marketplace/Azure.ResourceManager.Marketplace/src/autorest.md index b223cc3fb59a..48fb19baac54 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/src/autorest.md +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Marketplace require: https://github.com/Azure/azure-rest-api-specs/blob/aa8a23b8f92477d0fdce7af6ccffee1c604b3c56/specification/marketplace/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/autorest.tests.md b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/autorest.tests.md deleted file mode 100644 index 725de5bda17b..000000000000 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/autorest.tests.md +++ /dev/null @@ -1,15 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.MarketplaceOrdering.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - MarketplaceAgreements_List -``` diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md index d8aa14f671c5..b7f431fe473a 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md @@ -11,6 +11,11 @@ namespace: Azure.ResourceManager.MarketplaceOrdering require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/marketplaceordering/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - MarketplaceAgreements_List skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/autorest.tests.md b/sdk/mediaservices/Azure.ResourceManager.Media/samples/autorest.tests.md deleted file mode 100644 index 5364dc4c2565..000000000000 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Media.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/src/autorest.md b/sdk/mediaservices/Azure.ResourceManager.Media/src/autorest.md index 2a668b213c81..0237ae893442 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/src/autorest.md +++ b/sdk/mediaservices/Azure.ResourceManager.Media/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/daeb320057bd56a88379 tag: package-2023-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/autorest.tests.md b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/autorest.tests.md deleted file mode 100644 index 54af8b56e49c..000000000000 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.MixedReality.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/src/autorest.md b/sdk/mixedreality/Azure.ResourceManager.MixedReality/src/autorest.md index 1b4f52497097..9421cf9105bb 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/src/autorest.md +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/src/autorest.md @@ -13,6 +13,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/aa8a23b8f92477d0fdce tag: package-2021-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/autorest.tests.md b/sdk/monitor/Azure.ResourceManager.Monitor/samples/autorest.tests.md deleted file mode 100644 index 765dcce97aa9..000000000000 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/autorest.tests.md +++ /dev/null @@ -1,18 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Monitor.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - MetricDefinitions_List - - Metrics_List - - Baselines_List - - MetricNamespaces_List -``` diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md b/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md index aabb8a55ad62..a49770db3bd5 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md +++ b/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md @@ -11,6 +11,14 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/2491b616cde43277fae3 tag: package-track2-stable output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - MetricDefinitions_List + - Metrics_List + - Baselines_List + - MetricNamespaces_List skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/autorest.tests.md b/sdk/mysql/Azure.ResourceManager.MySql/samples/autorest.tests.md deleted file mode 100644 index 0d461cb15e11..000000000000 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.DataFactory.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/autorest.tests.md b/sdk/netapp/Azure.ResourceManager.NetApp/samples/autorest.tests.md deleted file mode 100644 index beae459e4c4a..000000000000 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.NetApp.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md index bfabe8ef26c1..ba965fbf1169 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.NetApp require: https://github.com/Azure/azure-rest-api-specs/blob/f14f1d17370ed1d56f06d8933f434832b3f0a618/specification/netapp/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/network/Azure.ResourceManager.Network/samples/autorest.tests.md b/sdk/network/Azure.ResourceManager.Network/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/network/Azure.ResourceManager.Network/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/network/Azure.ResourceManager.Network/src/autorest.md b/sdk/network/Azure.ResourceManager.Network/src/autorest.md index 6aae5e58c370..9f84dbfe8a25 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/autorest.md +++ b/sdk/network/Azure.ResourceManager.Network/src/autorest.md @@ -10,6 +10,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/f5cb37608399dd19760b # tag: package-2023-04 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/autorest.tests.md b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/autorest.tests.md deleted file mode 100644 index 62a98565ee3d..000000000000 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.NetworkCloud.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/autorest.md b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/autorest.md index e5b21d7f8788..697fa6fd3287 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/autorest.md +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/ed9bde6a3db71b84fdba #tag: package-2023-07-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/autorest.tests.md b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/autorest.tests.md deleted file mode 100644 index f2dc5342dae0..000000000000 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.NetworkFunction.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/src/autorest.md b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/src/autorest.md index f5205e783c81..7ce35abdee89 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/src/autorest.md +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/fa7609844bc20b126037 tag: package-2022-11-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/autorest.tests.md b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/autorest.tests.md deleted file mode 100644 index 901709fe535f..000000000000 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.NewRelicObservability.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/src/autorest.md b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/src/autorest.md index 0221b6928045..3082eac3e16b 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/src/autorest.md +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.NewRelicObservability require: https://github.com/Azure/azure-rest-api-specs/blob/fd0b301360d7f83dee9dec5afe3fff77b90b79f6/specification/newrelic/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/autorest.tests.md b/sdk/nginx/Azure.ResourceManager.Nginx/samples/autorest.tests.md deleted file mode 100644 index 3be27771ff47..000000000000 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Nginx.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/src/autorest.md b/sdk/nginx/Azure.ResourceManager.Nginx/src/autorest.md index b2394c1452c2..12a41f296d48 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/src/autorest.md +++ b/sdk/nginx/Azure.ResourceManager.Nginx/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/2f28b5026a4b44adefd0 tag: package-2022-08-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/autorest.tests.md b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/autorest.tests.md deleted file mode 100644 index 40d9609d5993..000000000000 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.NotificationHubs.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/autorest.md b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/autorest.md index 9c917a4b6e3e..1fcb8ca8c844 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/autorest.md +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.NotificationHubs require: https://github.com/Azure/azure-rest-api-specs/blob/bab2f4389eb5ca73cdf366ec0a4af3f3eb6e1f6d/specification/notificationhubs/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/autorest.tests.md b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/autorest.tests.md deleted file mode 100644 index 061a23e12edd..000000000000 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.OperationalInsights.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md index c29e207430c8..750d4f12af2e 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.OperationalInsights require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/operationalinsights/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/autorest.tests.md b/sdk/orbital/Azure.ResourceManager.Orbital/samples/autorest.tests.md deleted file mode 100644 index b53b293bce1e..000000000000 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Orbital.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/src/autorest.md b/sdk/orbital/Azure.ResourceManager.Orbital/src/autorest.md index d8e371a4d9e5..702dc6c551b9 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/src/autorest.md +++ b/sdk/orbital/Azure.ResourceManager.Orbital/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Orbital require: https://github.com/Azure/azure-rest-api-specs/blob/e686ed79e9b0bbc10355fd8d7ba36d1a07e4ba28/specification/orbital/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/autorest.tests.md b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/autorest.tests.md deleted file mode 100644 index d9e992e2c564..000000000000 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.PaloAltoNetworks.Ngfw.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/autorest.md b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/autorest.md index d2427277f8e4..4979fb7acacd 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/autorest.md +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/0691ac4b0e05c8ca3bde #tag: package-2022-08-29 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/autorest.tests.md b/sdk/peering/Azure.ResourceManager.Peering/samples/autorest.tests.md deleted file mode 100644 index 8ba6650f796a..000000000000 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Peering.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/peering/Azure.ResourceManager.Peering/src/autorest.md b/sdk/peering/Azure.ResourceManager.Peering/src/autorest.md index e4c6e50df1c2..63a211137ef0 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/src/autorest.md +++ b/sdk/peering/Azure.ResourceManager.Peering/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Peering require: https://github.com/Azure/azure-rest-api-specs/blob/5fc05d0f0b15cbf16de942cadce464b495c66a58/specification/peering/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/autorest.tests.md b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/autorest.tests.md deleted file mode 100644 index 1d87a8a0f3a1..000000000000 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/autorest.tests.md +++ /dev/null @@ -1,30 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.PolicyInsights.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - PolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment - - PolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment - - PolicyStates_SummarizeForResourceGroupLevelPolicyAssignment - - PolicyEvents_ListQueryResultsForPolicySetDefinition - - PolicyEvents_ListQueryResultsForPolicyDefinition - - PolicyEvents_ListQueryResultsForSubscriptionLevelPolicyAssignment - - PolicyStates_ListQueryResultsForPolicySetDefinition - - PolicyStates_SummarizeForPolicySetDefinition - - PolicyStates_ListQueryResultsForPolicyDefinition - - PolicyStates_SummarizeForPolicyDefinition - - PolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment - - PolicyStates_SummarizeForSubscriptionLevelPolicyAssignment - - PolicyEvents_ListQueryResultsForResource - - PolicyStates_ListQueryResultsForResource - - PolicyStates_SummarizeForResource - - PolicyTrackedResources_ListQueryResultsForResource -``` diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md index cc3e68feff74..e929f0148fe4 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md @@ -12,6 +12,26 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/05a9cdab363b8ec82409 tag: package-2022-09 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - PolicyEvents_ListQueryResultsForResourceGroupLevelPolicyAssignment + - PolicyStates_ListQueryResultsForResourceGroupLevelPolicyAssignment + - PolicyStates_SummarizeForResourceGroupLevelPolicyAssignment + - PolicyEvents_ListQueryResultsForPolicySetDefinition + - PolicyEvents_ListQueryResultsForPolicyDefinition + - PolicyEvents_ListQueryResultsForSubscriptionLevelPolicyAssignment + - PolicyStates_ListQueryResultsForPolicySetDefinition + - PolicyStates_SummarizeForPolicySetDefinition + - PolicyStates_ListQueryResultsForPolicyDefinition + - PolicyStates_SummarizeForPolicyDefinition + - PolicyStates_ListQueryResultsForSubscriptionLevelPolicyAssignment + - PolicyStates_SummarizeForSubscriptionLevelPolicyAssignment + - PolicyEvents_ListQueryResultsForResource + - PolicyStates_ListQueryResultsForResource + - PolicyStates_SummarizeForResource + - PolicyTrackedResources_ListQueryResultsForResource skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/autorest.tests.md b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/autorest.tests.md deleted file mode 100644 index c21001d47d11..000000000000 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.PostgreSql.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/autorest.tests.md b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/autorest.tests.md deleted file mode 100644 index dfb92bd24336..000000000000 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.PowerBIDedicated.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/src/autorest.md b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/src/autorest.md index ee3ee1465ee7..d84425bb3639 100644 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/src/autorest.md +++ b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.PowerBIDedicated require: https://github.com/Azure/azure-rest-api-specs/blob/34ba022add0034e30462b76e1548ce5a7e053e33/specification/powerbidedicated/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/privatedns/Azure.ResourceManager.PrivateDns/samples/autorest.tests.md b/sdk/privatedns/Azure.ResourceManager.PrivateDns/samples/autorest.tests.md deleted file mode 100644 index 9ce8441f413f..000000000000 --- a/sdk/privatedns/Azure.ResourceManager.PrivateDns/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.PrivateDns.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: false -``` diff --git a/sdk/privatedns/Azure.ResourceManager.PrivateDns/src/autorest.md b/sdk/privatedns/Azure.ResourceManager.PrivateDns/src/autorest.md index a6576ba67968..2be94ed1f021 100644 --- a/sdk/privatedns/Azure.ResourceManager.PrivateDns/src/autorest.md +++ b/sdk/privatedns/Azure.ResourceManager.PrivateDns/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.PrivateDns require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/privatedns/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/autorest.tests.md b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/autorest.tests.md deleted file mode 100644 index 48c4a4761cbb..000000000000 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ProviderHub.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/src/autorest.md b/sdk/providerhub/Azure.ResourceManager.ProviderHub/src/autorest.md index 174672d22784..396510a86b04 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/src/autorest.md +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/34ba022add0034e30462 tag: package-2020-11-20 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/autorest.tests.md b/sdk/purview/Azure.ResourceManager.Purview/samples/autorest.tests.md deleted file mode 100644 index 17661103211e..000000000000 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Purview.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/autorest.md b/sdk/purview/Azure.ResourceManager.Purview/src/autorest.md index 926129f418c5..8fef7083090b 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/autorest.md +++ b/sdk/purview/Azure.ResourceManager.Purview/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Purview require: https://github.com/Azure/azure-rest-api-specs/blob/e686ed79e9b0bbc10355fd8d7ba36d1a07e4ba28/specification/purview/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/samples/autorest.tests.md b/sdk/quantum/Azure.ResourceManager.Quantum/samples/autorest.tests.md deleted file mode 100644 index 574f3fa4f057..000000000000 --- a/sdk/quantum/Azure.ResourceManager.Quantum/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Quantum.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/autorest.md b/sdk/quantum/Azure.ResourceManager.Quantum/src/autorest.md index 23fe45ba55bb..fa3f5148a790 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/autorest.md +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.Quantum require: https://github.com/Azure/azure-rest-api-specs/blob/34ba022add0034e30462b76e1548ce5a7e053e33/specification/quantum/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/autorest.tests.md b/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/autorest.tests.md deleted file mode 100644 index bc51df2b2319..000000000000 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Qumulo.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/autorest.md b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/autorest.md index 4bf4bc5ecd03..4fd2ce81a0bc 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/autorest.md +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.Qumulo require: https://github.com/Azure/azure-rest-api-specs/blob/b73e2d320f1ae530ea5e78625dfe14a921dcf011/specification/liftrqumulo/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/autorest.tests.md b/sdk/quota/Azure.ResourceManager.Quota/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/autorest.md b/sdk/quota/Azure.ResourceManager.Quota/src/autorest.md index 35f78e1d94f8..e8599fb0f461 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/autorest.md +++ b/sdk/quota/Azure.ResourceManager.Quota/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.Quota require: https://github.com/Azure/azure-rest-api-specs/blob/57e0f495d521002e883f5357db0dfdfdaaff0208/specification/quota/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/autorest.tests.md b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/autorest.tests.md deleted file mode 100644 index b1bc9dd3281b..000000000000 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/autorest.tests.md +++ /dev/null @@ -1,14 +0,0 @@ -# - Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.RecoveryServicesBackup.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/autorest.md b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/autorest.md index 1cd70b32d87b..059b80575e89 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/autorest.md +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.RecoveryServicesBackup require: https://github.com/Azure/azure-rest-api-specs/blob/80c21c17b4a7aa57f637ee594f7cfd653255a7e0/specification/recoveryservicesbackup/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/autorest.tests.md b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/autorest.tests.md deleted file mode 100644 index 0bca21997e4b..000000000000 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/autorest.tests.md +++ /dev/null @@ -1,21 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - # The discriminator value is incorrect - - ReplicationFabrics_Create - - ReplicationProtectionContainers_Create - - ReplicationProtectedItems_Delete - - ReplicationProtectionContainerMappings_Create - # Missing requried parameter - - ReplicationJobs_Export -``` \ No newline at end of file diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md index 5fabe3f6bda5..ebac4e1a9f03 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md @@ -12,6 +12,17 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/d03c1964cb76ffd6884d #tag: package-2023-04 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + # The discriminator value is incorrect + - ReplicationFabrics_Create + - ReplicationProtectionContainers_Create + - ReplicationProtectedItems_Delete + - ReplicationProtectionContainerMappings_Create + # Missing requried parameter + - ReplicationJobs_Export skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/autorest.tests.md b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/autorest.tests.md deleted file mode 100644 index 36c21cfd275f..000000000000 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.RecoveryServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/autorest.md b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/autorest.md index 4baf96b02630..3610e490537d 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/autorest.md +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.RecoveryServices require: https://github.com/Azure/azure-rest-api-specs/blob/95c0363e4cae8756c6a33b58add67776db427bbc/specification/recoveryservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/autorest.tests.md b/sdk/redis/Azure.ResourceManager.Redis/samples/autorest.tests.md deleted file mode 100644 index f9f85d63931b..000000000000 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Redis.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md index 62da21eec321..109faeda7a54 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md +++ b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Redis require: https://github.com/Azure/azure-rest-api-specs/blob/ae9d07fdb281804d4af18b48d4b895e09a0ca35c/specification/redis/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/autorest.tests.md b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/autorest.tests.md deleted file mode 100644 index 9ebfa2a91349..000000000000 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.RedisEnterprise.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/autorest.md b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/autorest.md index 4d6fbd42d39b..f7e24c6fc1a2 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/autorest.md +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.RedisEnterprise require: https://github.com/Azure/azure-rest-api-specs/blob/969fd0c2634fbcc1975d7abe3749330a5145a97c/specification/redisenterprise/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/autorest.tests.md b/sdk/relay/Azure.ResourceManager.Relay/samples/autorest.tests.md deleted file mode 100644 index 39526c39dbff..000000000000 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Relay.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/autorest.md b/sdk/relay/Azure.ResourceManager.Relay/src/autorest.md index 698c7ab7593a..42bc9f0efa57 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/autorest.md +++ b/sdk/relay/Azure.ResourceManager.Relay/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Relay require: https://github.com/Azure/azure-rest-api-specs/blob/df77748f7dff3fe12c13b7262e9b307c719e6918/specification/relay/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/autorest.tests.md b/sdk/reservations/Azure.ResourceManager.Reservations/samples/autorest.tests.md deleted file mode 100644 index 7df73665b07c..000000000000 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Reservations.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md b/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md index dc7a4308796f..84351915b904 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.Reservations require: https://github.com/Azure/azure-rest-api-specs/blob/49b2b960e028825de1e3b95568c93ed235354e06/specification/reservations/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/autorest.tests.md b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/autorest.tests.md deleted file mode 100644 index 265f4376daed..000000000000 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ResourceGraph.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/autorest.md b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/autorest.md index 7221ec51ad71..902546345d22 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/autorest.md +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.ResourceGraph require: https://github.com/Azure/azure-rest-api-specs/blob/e686ed79e9b0bbc10355fd8d7ba36d1a07e4ba28/specification/resourcegraph/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/autorest.tests.md b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/autorest.tests.md deleted file mode 100644 index 4b84be903acf..000000000000 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ResourceHealth.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/autorest.md b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/autorest.md index 48ff0cf13f9e..c9612d90b23e 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/autorest.md +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/autorest.md @@ -11,6 +11,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/56b585b014e28a73a0a7 # tag: package-2022-10 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/autorest.tests.md b/sdk/resourcemanager/Azure.ResourceManager/samples/autorest.tests.md deleted file mode 100644 index 9a6619db028b..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/autorest.tests.md b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/autorest.md b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/autorest.md index 233a376eabdb..e8c0bc2d6767 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/autorest.md +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ResourceMover require: https://github.com/Azure/azure-rest-api-specs/blob/bab2f4389eb5ca73cdf366ec0a4af3f3eb6e1f6d/specification/resourcemover/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/autorest.tests.md b/sdk/resources/Azure.ResourceManager.Resources/samples/autorest.tests.md deleted file mode 100644 index 4e62c5fc9d2f..000000000000 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Resources.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/autorest.md b/sdk/resources/Azure.ResourceManager.Resources/src/autorest.md index ba6a86ca0165..55b28a0ef744 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/autorest.md +++ b/sdk/resources/Azure.ResourceManager.Resources/src/autorest.md @@ -10,6 +10,9 @@ title: ResourceManagementClient tag: package-resources-2022-04 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true model-namespace: true public-clients: false diff --git a/sdk/search/Azure.ResourceManager.Search/samples/autorest.tests.md b/sdk/search/Azure.ResourceManager.Search/samples/autorest.tests.md deleted file mode 100644 index 4cbc6d12a2bb..000000000000 --- a/sdk/search/Azure.ResourceManager.Search/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Search.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/search/Azure.ResourceManager.Search/src/autorest.md b/sdk/search/Azure.ResourceManager.Search/src/autorest.md index edbdc4029515..2aba249207da 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/autorest.md +++ b/sdk/search/Azure.ResourceManager.Search/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Search require: https://github.com/Azure/azure-rest-api-specs/blob/20450db14856ccac2af2c28de56fd436c63bb726/specification/search/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/autorest.tests.md b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/autorest.tests.md deleted file mode 100644 index 841b32505b30..000000000000 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/autorest.tests.md +++ /dev/null @@ -1,18 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.SecurityCenter.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - InformationProtectionPolicies_CreateOrUpdate - - InformationProtectionPolicies_List - - SubAssessments_ListAll - - Assessments_List -``` diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md index 09fb30e02afb..0f9818305fa2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md @@ -11,6 +11,14 @@ namespace: Azure.ResourceManager.SecurityCenter require: https://github.com/Azure/azure-rest-api-specs/blob/44e83346defd3d4ca99efade8b1ee90c67d9f249/specification/security/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - InformationProtectionPolicies_CreateOrUpdate + - InformationProtectionPolicies_List + - SubAssessments_ListAll + - Assessments_List tag: package-dotnet-sdk skip-csproj: true modelerfour: diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/Samples/autorest.tests.md b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/Samples/autorest.tests.md deleted file mode 100644 index 41712befebe6..000000000000 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/Samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.SecurityDevOps.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/autorest.md b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/autorest.md index ae473e551edb..a09a6496e190 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/autorest.md +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.SecurityDevOps require: https://github.com/Azure/azure-rest-api-specs/blob/886cb1c95499e7577e14ba1b4317f63590d79992/specification/securitydevops/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/autorest.tests.md b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/autorest.tests.md deleted file mode 100644 index 317c0ad61b1d..000000000000 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/autorest.tests.md +++ /dev/null @@ -1,16 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.SelfHelp.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - Diagnostics_CheckNameAvailability - - DiscoverySolution_List -``` diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md index 2616926a47de..5c1c5fc8ed81 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md @@ -11,6 +11,12 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/2ced92ea3d86dbe78f19 tag: package-2023-06-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - Diagnostics_CheckNameAvailability + - DiscoverySolution_List skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/autorest.tests.md b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/autorest.tests.md deleted file mode 100644 index 49d07f1caa2c..000000000000 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ServiceBus.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/autorest.md b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/autorest.md index 1051096a5942..77bf9bcaadd4 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/autorest.md +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/autorest.md @@ -10,6 +10,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/f69c52dd603c79a8b29b tag: package-2022-10-preview output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/autorest.tests.md b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/autorest.md b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/autorest.md index 7cc6095fdbf6..5fa1875d1677 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/autorest.md +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ServiceFabric require: https://github.com/Azure/azure-rest-api-specs/blob/bab2f4389eb5ca73cdf366ec0a4af3f3eb6e1f6d/specification/servicefabric/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/autorest.tests.md b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/autorest.md b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/autorest.md index a522739bdc15..1cd585a218ab 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/autorest.md +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/da459cd725e11aa72e7 # tag: package-2023-03-preview output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/autorest.tests.md b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/autorest.tests.md deleted file mode 100644 index 7944bdc7ee40..000000000000 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ServiceLinker.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/autorest.md b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/autorest.md index c9f1117e9a2c..b15225691313 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/autorest.md +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.ServiceLinker require: https://github.com/Azure/azure-rest-api-specs/blob/42ca0236ef14093f5aff0694efa34d5594e814a0/specification/servicelinker/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/autorest.tests.md b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/autorest.tests.md deleted file mode 100644 index b7c9dfa2dbf7..000000000000 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ServiceNetworking.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/autorest.md b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/autorest.md index 9e7218ca7a04..8aa31a5ef323 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/autorest.md +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.ServiceNetworking require: https://github.com/Azure/azure-rest-api-specs/blob/b53cd31f04037e6f1b82dfc68d086e2d108eda13/specification/servicenetworking/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/autorest.tests.md b/sdk/sphere/Azure.ResourceManager.Sphere/samples/autorest.tests.md deleted file mode 100644 index 0e4249fb7ecb..000000000000 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Sphere.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/autorest.md b/sdk/sphere/Azure.ResourceManager.Sphere/src/autorest.md index 3e2b28aa79c9..e4651485ab33 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/autorest.md +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.Sphere require: https://github.com/Azure/azure-rest-api-specs/blob/a89f3906ba60257ae28a2eed756a1ee4ca72ed51/specification/sphere/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/autorest.tests.md b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/autorest.tests.md deleted file mode 100644 index ad09d23036c9..000000000000 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/autorest.tests.md +++ /dev/null @@ -1,18 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Sql.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - ManagedDatabaseSensitivityLabels_CreateOrUpdate - - ManagedDatabaseSensitivityLabels_Delete - - SensitivityLabels_CreateOrUpdate - - SensitivityLabels_Delete -``` diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md index d2614619d89b..71c10dba865d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md @@ -9,6 +9,14 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/eba34b9c764e87719378 namespace: Azure.ResourceManager.Sql output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - ManagedDatabaseSensitivityLabels_CreateOrUpdate + - ManagedDatabaseSensitivityLabels_Delete + - SensitivityLabels_CreateOrUpdate + - SensitivityLabels_Delete skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/autorest.tests.md b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/autorest.tests.md deleted file mode 100644 index f6eaa58bd914..000000000000 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.SqlVirtualMachine.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/src/autorest.md b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/src/autorest.md index 44bbce467cec..787889fcc461 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/src/autorest.md +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.SqlVirtualMachine require: https://github.com/Azure/azure-rest-api-specs/blob/bab2f4389eb5ca73cdf366ec0a4af3f3eb6e1f6d/specification/sqlvirtualmachine/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/autorest.tests.md b/sdk/storage/Azure.ResourceManager.Storage/samples/autorest.tests.md deleted file mode 100644 index 353d5e321994..000000000000 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Storage.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/autorest.md b/sdk/storage/Azure.ResourceManager.Storage/src/autorest.md index 558110ce6ad0..8c19e3e9a7a3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/autorest.md +++ b/sdk/storage/Azure.ResourceManager.Storage/src/autorest.md @@ -9,6 +9,9 @@ namespace: Azure.ResourceManager.Storage require: https://github.com/Azure/azure-rest-api-specs/blob/da0cfefaa0e6c237e1e3819f1cb2e11d7606878d/specification/storage/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/autorest.tests.md b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/autorest.tests.md deleted file mode 100644 index c3251b70c553..000000000000 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.StorageCache.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/src/autorest.md b/sdk/storagecache/Azure.ResourceManager.StorageCache/src/autorest.md index 3ea9f17fef30..cf091c541f07 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/src/autorest.md +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.StorageCache require: https://github.com/Azure/azure-rest-api-specs/blob/6c157d49894462320db6603bb8e7b3077861b2d7/specification/storagecache/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/autorest.tests.md b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/autorest.tests.md deleted file mode 100644 index c45ac01f175e..000000000000 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.StoragePool.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/autorest.md b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/autorest.md index b77c86e46884..dfaa0d31373f 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/autorest.md +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.StoragePool require: https://github.com/Azure/azure-rest-api-specs/blob/068f1ecdf3abb35a6a329a7b270c45df4d9c57a4/specification/storagepool/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/autorest.tests.md b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/autorest.tests.md deleted file mode 100644 index 37fd1c8c8a8c..000000000000 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.StorageSync.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/src/autorest.md b/sdk/storagesync/Azure.ResourceManager.StorageSync/src/autorest.md index 1318d2397092..67b4646f2648 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/src/autorest.md +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/d1eee5499dbf9281debd tag: package-2022-06-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/autorest.tests.md b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/autorest.tests.md deleted file mode 100644 index e99d74b6f910..000000000000 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.StreamAnalytics.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/autorest.md b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/autorest.md index a0620c82cb27..dfb4f7ad583b 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/autorest.md +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/src/autorest.md @@ -12,6 +12,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/692cb8b5eb71505afa26 tag: package-2021-10-preview output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/autorest.tests.md b/sdk/subscription/Azure.ResourceManager.Subscription/samples/autorest.tests.md deleted file mode 100644 index f0145c3035e4..000000000000 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Subscription.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/src/autorest.md b/sdk/subscription/Azure.ResourceManager.Subscription/src/autorest.md index 52f02c472e71..c8fd308345c0 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/src/autorest.md +++ b/sdk/subscription/Azure.ResourceManager.Subscription/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Subscription require: https://github.com/Azure/azure-rest-api-specs/blob/2614c5038cb384e864c1608e76be61a5ee84cb02/specification/subscription/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/support/Azure.ResourceManager.Support/samples/autorest.tests.md b/sdk/support/Azure.ResourceManager.Support/samples/autorest.tests.md deleted file mode 100644 index 6a44361383ad..000000000000 --- a/sdk/support/Azure.ResourceManager.Support/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Support.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/support/Azure.ResourceManager.Support/src/autorest.md b/sdk/support/Azure.ResourceManager.Support/src/autorest.md index 881b2efbb1b4..6143b4ac5424 100644 --- a/sdk/support/Azure.ResourceManager.Support/src/autorest.md +++ b/sdk/support/Azure.ResourceManager.Support/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.Support require: https://github.com/Azure/azure-rest-api-specs/blob/6b08774c89877269e73e11ac3ecbd1bd4e14f5a0/specification/support/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/autorest.tests.md b/sdk/synapse/Azure.ResourceManager.Synapse/samples/autorest.tests.md deleted file mode 100644 index f6ac78cf4d22..000000000000 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/autorest.tests.md +++ /dev/null @@ -1,17 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Synapse.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings_Update - - SqlPoolSensitivityLabels_CreateOrUpdate - - SqlPoolSensitivityLabels_Delete -``` \ No newline at end of file diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md b/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md index deab91215128..06279e86bcf7 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md +++ b/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md @@ -13,6 +13,13 @@ namespace: Azure.ResourceManager.Synapse tag: package-composite-v2 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings_Update + - SqlPoolSensitivityLabels_CreateOrUpdate + - SqlPoolSensitivityLabels_Delete skip-csproj: true use-core-datafactory-replacements: false modelerfour: diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/autorest.tests.md b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/autorest.tests.md deleted file mode 100644 index 681d7db47621..000000000000 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.TrafficManager.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/autorest.md b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/autorest.md index 5802a284b0a7..ec58a0028b29 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/autorest.md +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/src/autorest.md @@ -11,6 +11,9 @@ namespace: Azure.ResourceManager.TrafficManager require: https://github.com/Azure/azure-rest-api-specs/blob/4f4073bdb028bc84bc3e6405c1cbaf8e89b83caf/specification/trafficmanager/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true rename-mapping: diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/autorest.tests.md b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/autorest.tests.md deleted file mode 100644 index 2302a7c2321d..000000000000 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.VoiceServices.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/src/autorest.md b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/src/autorest.md index b5e56825adcd..3e0c8fdc6992 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/src/autorest.md +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/src/autorest.md @@ -10,6 +10,9 @@ namespace: Azure.ResourceManager.VoiceServices require: https://github.com/Azure/azure-rest-api-specs/blob/7b47689d4efc098f25f46781f05f22179c153314/specification/voiceservices/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/autorest.tests.md b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/autorest.tests.md deleted file mode 100644 index 19ee78116c69..000000000000 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.WebPubSub.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/autorest.md b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/autorest.md index 35ccfb61f006..2a30bcd92829 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/autorest.md +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/autorest.md @@ -10,6 +10,9 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/1be09531e4c6edeafde4 tag: package-2021-10-01 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/autorest.tests.md b/sdk/websites/Azure.ResourceManager.AppService/samples/autorest.tests.md deleted file mode 100644 index 70b32cd009d0..000000000000 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.ShortName.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/autorest.md b/sdk/websites/Azure.ResourceManager.AppService/src/autorest.md index 5b623f62f425..421aaa55830a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/autorest.md +++ b/sdk/websites/Azure.ResourceManager.AppService/src/autorest.md @@ -13,6 +13,9 @@ namespace: Azure.ResourceManager.AppService require: https://github.com/Azure/azure-rest-api-specs/blob/35f8a4df47aedc1ce185c854595cba6b83fa6c71/specification/web/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/autorest.tests.md b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/autorest.tests.md deleted file mode 100644 index 9ce230b60115..000000000000 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/autorest.tests.md +++ /dev/null @@ -1,13 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.WorkloadMonitor.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true -``` \ No newline at end of file diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/src/autorest.md b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/src/autorest.md index ef1870899275..a07de00f0f5c 100644 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/src/autorest.md +++ b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/src/autorest.md @@ -12,6 +12,9 @@ namespace: Azure.ResourceManager.WorkloadMonitor require: https://github.com/Azure/azure-rest-api-specs/tree/34ba022add0034e30462b76e1548ce5a7e053e33/specification/workloadmonitor/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true modelerfour: flatten-payloads: false diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/autorest.tests.md b/sdk/workloads/Azure.ResourceManager.Workloads/samples/autorest.tests.md deleted file mode 100644 index 86f0ef423ce0..000000000000 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/autorest.tests.md +++ /dev/null @@ -1,17 +0,0 @@ - -# Generated code configuration - -Run `dotnet build /t:GenerateTests` to generate code. - -# Azure.ResourceManager.Workloads.Tests - -> see https://aka.ms/autorest -``` yaml -require: ../src/autorest.md -include-x-ms-examples-original-file: true -testgen: - sample: true - skipped-operations: - - monitors_Update - - SAPVirtualInstances_Update -``` diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md index cf94ffc9058d..fc61f511ff3c 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md @@ -11,6 +11,12 @@ require: https://github.com/Azure/azure-rest-api-specs/blob/c9a6e0a98a51ebc0c7a3 tag: package-2023-04 output-folder: $(this-folder)/Generated clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true + skipped-operations: + - monitors_Update + - SAPVirtualInstances_Update skip-csproj: true modelerfour: flatten-payloads: false