From b386bbb47504342e7c149bfb818e72f068bbcf3e Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Thu, 17 Aug 2023 22:52:22 +0800 Subject: [PATCH 1/6] update autorest.md to include sample-gen config and delete autorest.tests.md --- .../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 | 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 | 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 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 15 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../Azure.ResourceManager.Cdn/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 | 39 ------------------- .../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 | 19 --------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../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 | 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 | 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 ------- .../Azure.ResourceManager.Dns/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 | 21 ---------- .../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 | 16 -------- .../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 | 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 | 13 ------- .../src/autorest.md | 3 ++ .../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 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../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 ------- .../src/autorest.md | 3 ++ .../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 | 18 --------- .../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 | 30 -------------- .../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 | 14 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 21 ---------- .../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 ------- .../Azure.ResourceManager/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 --------- .../src/autorest.md | 3 ++ .../Samples/autorest.tests.md | 13 ------- .../src/autorest.md | 3 ++ .../samples/autorest.tests.md | 16 -------- .../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 | 18 --------- .../Azure.ResourceManager.Sql/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 | 17 -------- .../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 | 3 ++ 298 files changed, 447 insertions(+), 2059 deletions(-) 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/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/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/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/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/sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md b/sdk/advisor/Azure.ResourceManager.Advisor/samples/autorest.tests.md deleted file mode 100644 index 723360f4ddffd..0000000000000 --- 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 07acee88a1e06..0d7e172599166 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 39205bdd304d2..0000000000000 --- 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 096048866e1df..a6af4e3037307 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 233b27732df7f..0000000000000 --- 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 0bd97d39e6734..e0c35250e8aff 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/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/autorest.tests.md deleted file mode 100644 index 3cec8947873f2..0000000000000 --- 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 c372797f2911e..23beb18bcc9c7 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 7bab832b2de4f..0000000000000 --- 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 8cfbec2238677..c465033a69038 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 75a3cab0e944b..0000000000000 --- 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 161f5ca59a970..cfb3e927d46b1 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 ea62bd9b76b35..0000000000000 --- 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 331406bfd42ba..d560027336a28 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md @@ -11,6 +11,9 @@ 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 skip-csproj: true modelerfour: flatten-payloads: false 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 3723d2e45e8f9..0000000000000 --- 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 2271096ffd393..d321805947399 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 ff10ae95676ab..0000000000000 --- 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 ec1021272284f..ff26d904412f0 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md +++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md @@ -13,6 +13,9 @@ 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 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 04d9d1fdbdb8d..0000000000000 --- 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 236e9d020c304..7fd77470b3fb5 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 8215ace599043..0000000000000 --- 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 3d00c46bf1922..02c80ddac3001 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 528dd23691fbe..0000000000000 --- 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 ed406f43b24fa..bfa9624a3046c 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 c8de211354ab0..0000000000000 --- 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 f682144bd95cd..c1610eacd98a4 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 d955d93435d7e..0000000000000 --- 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 a37dcaea658b4..c0467abdc21cb 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/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md b/sdk/billing/Azure.ResourceManager.Billing/samples/autorest.tests.md deleted file mode 100644 index 1b98ee4e77025..0000000000000 --- 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 c4db57c596f43..b206ac5b48bd7 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md +++ b/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md @@ -12,6 +12,9 @@ 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 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 21a76572aedbb..0000000000000 --- 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 23bba0cb03af0..5a6b530e57403 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md @@ -12,6 +12,9 @@ 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 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 4f9acdf7960b5..0000000000000 --- 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 41e5ccf75fdcf..8a271a7414d45 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 cfa9f2398e6cd..0000000000000 --- 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 a3225556b22ba..1e0adfc7b7965 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md @@ -10,6 +10,9 @@ 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 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 549927a826232..0000000000000 --- 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 1f14c1d91366b..f3023b0e0b264 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 70b32cd009d02..0000000000000 --- 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 8662030047d36..8e32240d03180 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 799da667683c1..0000000000000 --- 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 ae66110ba4aa5..1ed16c4aa6060 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 c0c1c354b7134..0000000000000 --- 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 0b6e1b7d98877..be6b16f7d8f4d 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/f31a209b4013a8661200718a9e441efee4f379c3/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 b66f0d1587f44..0000000000000 --- 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 44c2412b692bd..edd71252bfa8c 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 dc1b249b70edf..0000000000000 --- 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 78a71a4de82a6..7de164bc86743 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 9654d0045382c..0000000000000 --- 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 e60b892f8bd0f..eb65579350792 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 7be95789b7964..0000000000000 --- 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 b27766e740ff6..333ce6452de7a 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md +++ b/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md @@ -11,6 +11,9 @@ 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 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 e8694e7eb72e1..0000000000000 --- 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 ab79f3c3289c3..2a5e16a743fba 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 89aa8ca43244f..0000000000000 --- 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 e31647c19ded3..b008b4353a94a 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 9e675e1e60bbe..0000000000000 --- 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 d3ce7074f2590..0b33a7d1cd8c6 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 f95bf96efc25f..0000000000000 --- 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 714c4e2402c1e..9ef100ae8bb9a 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 9ef4f48864fc2..0000000000000 --- 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 258551e7d62a3..ef43e06764e95 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md @@ -10,6 +10,9 @@ 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 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 af42a148e6529..0000000000000 --- 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 34792155641a1..0688541ae2312 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 bc824477d553e..0000000000000 --- 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 bc45e0460599f..277ef54f41483 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md +++ b/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md @@ -11,6 +11,9 @@ 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 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 49d73508dcee7..0000000000000 --- 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 76183c2b2e993..a3c42a5b476c2 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 612a95dce1c62..0000000000000 --- 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 f22918e5825c8..eea26bb5c3c4e 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 0f3515fca8028..0000000000000 --- 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 c54e74715656e..fe47e0dffeff7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -12,6 +12,9 @@ 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 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 3ffbc7628905d..0000000000000 --- 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 1d396591def76..ff3e96b4556eb 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 7581af8075a48..0000000000000 --- 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 2115ffc87f08f..a30cb86895563 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 82782c21e0d42..0000000000000 --- 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 6764d1c1b930f..d07d8204fd9aa 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 ac707614ff4ee..0000000000000 --- 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 bc014fd98a115..f7b9025b13616 100644 --- a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md +++ b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md @@ -12,6 +12,9 @@ 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 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 1f31a42b3c59d..0000000000000 --- 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 6e5649ce014b7..bc4d8c12ab98c 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 0543973c93acf..0000000000000 --- 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 964e6c1403337..edf7bf76d7081 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 05c83dfe483a3..0000000000000 --- 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 8264116236f01..f1bcc0ce7cd9a 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 e604888ae9f68..0000000000000 --- 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 6028aa64eef02..6f24da829d5da 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 d79d72be3eeb4..0000000000000 --- 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 a66eb5be3b5ff..6a1ba8abbd285 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 0bd1e8858f184..0000000000000 --- 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 47c37b561a1ec..b33f20446807f 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 1dea657d2230a..0000000000000 --- 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 c80ff00f5cde2..90ed1a9dff4a1 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 c3752924e00e9..0000000000000 --- 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 6cf47adce7b6c..e33cff77a3c6e 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 e3403f920b7a6..0000000000000 --- 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 0c5b4deff9a86..f88c05aad8fbd 100644 --- a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md +++ b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md @@ -9,6 +9,9 @@ library-name: dnsresolver namespace: Azure.ResourceManager.DnsResolver 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/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/autorest.tests.md deleted file mode 100644 index 165e90daab39c..0000000000000 --- 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 8c1d3fb1ff9c4..05ae366733ebc 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 d30aeb22314cd..0000000000000 --- 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 3377d17a18000..a7942c85765fd 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 c62a0b0cbd03a..0000000000000 --- 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 cbcc2d414021a..bab371a44189e 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 aa0ab3a58e69e..0000000000000 --- 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 2a3d79ebc49e3..f68bd4ce4a4dd 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md @@ -11,6 +11,9 @@ 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 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 7c4931400e096..0000000000000 --- 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 be09996ed2ded..b2b12c2958d37 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 8c1f4e1de7711..0000000000000 --- 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 f331448c3a352..2f8aae277d19b 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 88414a5d9e819..0000000000000 --- 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 ae32a9b8938df..32caaf3b229d8 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 70b32cd009d02..0000000000000 --- 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 b065eb79b2750..3120c97985f55 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 f8082ccc92e4e..0000000000000 --- 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 72cc233dc6b96..c39f3e54846e6 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 212e284f844a1..0000000000000 --- 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 48a8416e662ce..8b563330c53be 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 2883ab631a657..0000000000000 --- 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 b232db130b9d1..c579d4c2d5c48 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md @@ -11,6 +11,9 @@ 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 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 7afe2dde5007d..0000000000000 --- 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 0269b554c177b..04c14e5b533ee 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 36df027d29171..0000000000000 --- 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 17068fb0f650d..7432d56e8a5f2 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 280134542fde8..0000000000000 --- 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 0fa3d5de4b3c4..89bc17400da30 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 8f2d49cfb2890..0000000000000 --- 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 c60f27d7610b5..2fb96f1e83dd5 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md @@ -12,6 +12,9 @@ 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 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 025c25d37024e..0000000000000 --- 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 64c6fd03cad8d..414003d463788 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 a93a05f89295a..0000000000000 --- 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 a55732c723ea8..218c691f5b58f 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 3abca0a8fc60c..0000000000000 --- 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 6f45859714f3a..9fc1fb3303f77 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 95828c5f77baa..0000000000000 --- 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 9b2cc280ea64b..ad4e80b085c85 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 16aab727bf148..0000000000000 --- 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 b8a39e9fcf76d..036e2c3659050 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 ddfbff12c0342..0000000000000 --- 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 7700ba285ed86..35e2ff6d941bf 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/0f9df940977c680c39938c8b8bd5baf893737ed0/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 158aa46a8e1ac..0000000000000 --- 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 f703052fa80c0..9bf0acf2f5a23 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 188d126312978..0000000000000 --- 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 b5ba5ff082221..9492c65cd1083 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 1f8721fd3e0b0..0000000000000 --- 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 a7c94c673d328..0c1134c12f17d 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 64fb323630db2..0000000000000 --- 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 31205eab5fc02..75fb44a1f7d7c 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 e3c37f7e3e67a..0000000000000 --- 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 1df0e3217c8e2..0ba965850c23a 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 b9cf314bf10ee..0000000000000 --- 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 f64f8f9fd3d1d..553b319553348 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 15a458f070bee..0000000000000 --- 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 04206ea4b23cc..e3469b1978146 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 578b8ed85be6e..0000000000000 --- 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 50d73bbfa3408..668a1e5cbb408 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md @@ -11,6 +11,9 @@ 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 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 7f2bcd36e69c9..0000000000000 --- 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 79d89f8af9ef4..130abd98a8f3b 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 4d8e1cba7b360..0000000000000 --- 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 4d9d0f11c2af4..d81fa406ee298 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 d0d06e4d5174f..0000000000000 --- 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 8ca7b6dad0dd2..ae0384b0fc97f 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/0691ac4b0e05c8ca3bde #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 9cde3176100c0..0000000000000 --- 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 1f6c58209a0c4..97654d7a0ab0b 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 aaac7c95cd195..0000000000000 --- 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 027c2d3cce1a8..a8ffaa411dd99 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md @@ -12,6 +12,9 @@ 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 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 1aa256f4bc974..0000000000000 --- 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 773d86b51073e..311ff38166a59 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 eb271db530315..0000000000000 --- 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 59d515a272f8f..6a299c95d3267 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 3ed38c54486f4..0000000000000 --- 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 8db2baaf9c7fb..9dd85ca218d37 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 725de5bda17bd..0000000000000 --- 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 264d3908847d3..a0cfacef79ccc 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md @@ -11,6 +11,9 @@ 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 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 5364dc4c25658..0000000000000 --- 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 1c303a1f12db2..bc45487657e42 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 54af8b56e49c6..0000000000000 --- 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 71f18a21fd143..b97e70eb07f44 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 765dcce97aa9a..0000000000000 --- 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 c248ece8cf8bf..e266e635df935 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md +++ b/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md @@ -11,6 +11,9 @@ 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 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 0d461cb15e11d..0000000000000 --- 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/mysql/Azure.ResourceManager.MySql/src/autorest.md b/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md index 1d48de4270fd0..25e60c5952eaf 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md +++ b/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md @@ -6,6 +6,9 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true csharp: true clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true library-name: MySql 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 beae459e4c4a3..0000000000000 --- 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 c5a79a00970fe..89a54c505ce7a 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 70b32cd009d02..0000000000000 --- 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 aadcd1c259798..0c3d32db66f51 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 62a98565ee3d5..0000000000000 --- 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 b129540c2e0ba..7b054218ff6f5 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 f2dc5342dae09..0000000000000 --- 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 379dea63e4c31..fe697e30a46dd 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 901709fe535f0..0000000000000 --- 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 1fd88e615ee9f..36602a835c517 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 3be27771ff475..0000000000000 --- 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 475a5bf7f3435..cd5063968d494 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 40d9609d59936..0000000000000 --- 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 bd79138aaaeb7..84eebca03deb7 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 061a23e12edd6..0000000000000 --- 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 2cbe7c7451399..f9409d328dd8b 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 b53b293bce1e9..0000000000000 --- 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 9a47f35909be1..0beb79a14d166 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 d9e992e2c5647..0000000000000 --- 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 fb1d4c44ec28f..8bcc01f4bf885 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 8ba6650f796a2..0000000000000 --- 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 5b05fe49d6c1b..346aa1c50f80d 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 1d87a8a0f3a10..0000000000000 --- 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 5c2b95b0fe2f5..f6fb612473623 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md @@ -12,6 +12,9 @@ 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 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 c21001d47d112..0000000000000 --- 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/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md index 61611a6a5bb42..9bc193163d3c3 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md @@ -6,6 +6,9 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true csharp: true clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true library-name: PostgreSql 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 dfb92bd243365..0000000000000 --- 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 ef01c8d6e5c22..461db46f87819 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 9ce8441f413fd..0000000000000 --- 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 6263fce822455..72ffbc472a3b8 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 48c4a4761cbb3..0000000000000 --- 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 9b9d94ec22ffe..a66d45810303f 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 17661103211e4..0000000000000 --- 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 2cb1b7968cbed..48fe103b61338 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 574f3fa4f057d..0000000000000 --- 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 85aefea37801d..bf88067e97b7d 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 bc51df2b2319c..0000000000000 --- 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 7f1d167e618b2..5e147b91432bc 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 70b32cd009d02..0000000000000 --- 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 964658f0183d5..f84fcece04add 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 b1bc9dd3281ba..0000000000000 --- 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 96aaa42ddb4ed..782df5709d23b 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/add28efcd3a5fd422285d992fb1ec5ee5a7a40a6/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 0bca21997e4b2..0000000000000 --- 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 ef2e0f8db53f4..d1b3c493e7c68 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md @@ -12,6 +12,9 @@ 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 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 36c21cfd275f2..0000000000000 --- 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 1f51bc265dd69..f4f19606dfe76 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/7b47689d4efc098f25f46781f05f22179c153314/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 f9f85d63931bc..0000000000000 --- 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 810ae2959bdad..3ce06c8161eaf 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 9ebfa2a913499..0000000000000 --- 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 372785adf341d..78e9635a911d9 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 39526c39dbffb..0000000000000 --- 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 dbee54ccc28c0..80d14693558a1 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 7df73665b07c6..0000000000000 --- 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 f1ad6dbeb4bf5..a9438495d99e6 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 265f4376daed8..0000000000000 --- 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 3068b891874b3..031727dcbaf57 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 4b84be903acfa..0000000000000 --- 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 c7350cc2cba9c..4d97409c84bfa 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 9a6619db028b0..0000000000000 --- 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/resourcemanager/Azure.ResourceManager/src/autorest.md b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md index eef411cd53dc5..d3af570bda201 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md +++ b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md @@ -6,6 +6,9 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true arm-core: true clear-output-folder: true +sample-gen: + output-folder: $(this-folder)/../samples/Generated + clear-output-folder: true skip-csproj: true model-namespace: false public-clients: false 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 70b32cd009d02..0000000000000 --- 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 75fb8cbd9bd61..0f9a59996d1b4 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 4e62c5fc9d2f3..0000000000000 --- 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 4099775ed0dd5..c79c6e8b7c8e7 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 4cbc6d12a2bb6..0000000000000 --- 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 508ebec5df0ad..fafe978d59e64 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 841b32505b30a..0000000000000 --- 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 9a9f41b46b4a0..1ae9b25de4e7d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md @@ -11,6 +11,9 @@ 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 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 41712befebe6e..0000000000000 --- 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 3b923ea9de172..96e0aa726a4e7 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 317c0ad61b1de..0000000000000 --- 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 14cc02cc88160..dfa6d7b8b03c1 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md @@ -11,6 +11,9 @@ 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 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 49d07f1caa2c1..0000000000000 --- 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 f230a1f56cf42..e1c34ba4abfa6 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 70b32cd009d02..0000000000000 --- 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 0c3ad83d9fa37..9fa1d78855dd9 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 70b32cd009d02..0000000000000 --- 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 339aef071038b..cadf9150e996b 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 7944bdc7ee409..0000000000000 --- 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 631b576463c5b..96b63ffab2858 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 b7c9dfa2dbf7a..0000000000000 --- 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 a5e223e775dc4..dcfb1ac65021f 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 0e4249fb7ecbc..0000000000000 --- 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 f33db049a9dd7..274bb4eccdf25 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 ad09d23036c92..0000000000000 --- 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 6713d1a62a0ae..2be1812b1e22f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md @@ -9,6 +9,9 @@ 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 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 f6eaa58bd9140..0000000000000 --- 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 1d5888497f064..8dc4c5d7ea4cc 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 353d5e3219943..0000000000000 --- 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 ebf059ce61464..b0619025fc515 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 c3251b70c5533..0000000000000 --- 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 65a19ca1e18cc..65237d45070e8 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 c45ac01f175e4..0000000000000 --- 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 8121d8bed838e..0584de83dfc9f 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 37fd1c8c8a8ca..0000000000000 --- 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 6fd5a5d303d5e..80d65d83fff2e 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 e99d74b6f910c..0000000000000 --- 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 e771607288c99..eeb0eb8f0e399 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 f0145c3035e4d..0000000000000 --- 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 67da99c083c38..ea000613e75c6 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 6a44361383ad7..0000000000000 --- 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 2b256d4679e4a..fc39e38c0fc2d 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 f6ac78cf4d222..0000000000000 --- 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 55c80f3dbad0e..5dc92ea62cb42 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md +++ b/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md @@ -13,6 +13,9 @@ 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 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 681d7db476212..0000000000000 --- 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 60f1c850b2627..ec658303b141a 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 2302a7c2321d7..0000000000000 --- 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 730bf5a53bf6b..0ac699d004840 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 19ee78116c69b..0000000000000 --- 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 5b1256ae6efb0..65684c1073f5c 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 70b32cd009d02..0000000000000 --- 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 9bf51a8b34e5d..abbbb32753c0e 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 9ce230b601150..0000000000000 --- 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 acfe503240dcf..7476c6dd7e794 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 86f0ef423ce0e..0000000000000 --- 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 c98e1f3d05b54..3159e4639022a 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md @@ -11,6 +11,9 @@ 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 skip-csproj: true modelerfour: flatten-payloads: false From 02a34d428947406047353df565a83d428700db5e Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Sat, 19 Aug 2023 17:32:09 +0800 Subject: [PATCH 2/6] update more config --- .../samples/autorest.tests.md | 13 ------------- .../Azure.ResourceManager.Template/src/autorest.md | 3 +++ .../tests/autorest.tests.md | 13 ------------- .../tests/autorest.tests.md | 13 ------------- .../tests/autorest.tests.md | 13 ------------- 5 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 eng/templates/Azure.ResourceManager.Template/samples/autorest.tests.md delete mode 100644 sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md delete mode 100644 sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md delete mode 100644 sdk/batch/Azure.ResourceManager.Batch/tests/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 e67d2128800f7..0000000000000 --- 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 d5fbf684524a5..d8f072b2a6262 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/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md b/sdk/analysisservices/Azure.ResourceManager.Analysis/tests/autorest.tests.md deleted file mode 100644 index 0bd1e8858f184..0000000000000 --- 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/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md b/sdk/appplatform/Azure.ResourceManager.AppPlatform/tests/autorest.tests.md deleted file mode 100644 index ead50012fc146..0000000000000 --- 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/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md b/sdk/batch/Azure.ResourceManager.Batch/tests/autorest.tests.md deleted file mode 100644 index c0b8bfd6ebed0..0000000000000 --- 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 -``` From e156cf8277cd1184f6dd751c3b9eff038cb7059b Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Fri, 8 Sep 2023 18:58:24 +0800 Subject: [PATCH 3/6] update config of hardwaresecuritymodule --- .../samples/autorest.tests.md | 13 ------------- .../src/autorest.md | 3 +++ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/autorest.tests.md 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 8d1bff4a426a2..0000000000000 --- 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 56ab958bbc934..fc5b8bc28ca73 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 From be892b6aa606af42b4264bad9cb852e8a30cd2d3 Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Fri, 8 Sep 2023 19:49:29 +0800 Subject: [PATCH 4/6] fix blueprint sample config --- sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md index e2f1600525bca..feeb634d17a14 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/autorest.md @@ -15,6 +15,8 @@ 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 From a10762110418fdb219d1aac4d7dba013505d38c2 Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Fri, 8 Sep 2023 20:06:20 +0800 Subject: [PATCH 5/6] update to include skip sample config --- .../src/autorest.md | 4 +++ .../src/autorest.md | 2 ++ .../src/autorest.md | 2 ++ .../Azure.ResourceManager.Cdn/src/autorest.md | 3 +++ .../src/autorest.md | 26 +++++++++++++++++++ .../src/autorest.md | 6 +++++ .../src/autorest.md | 3 +++ .../src/autorest.md | 2 ++ .../src/autorest.md | 2 ++ .../src/autorest.md | 8 ++++++ .../src/autorest.md | 3 +++ .../src/autorest.md | 3 +++ .../src/autorest.md | 2 ++ .../src/autorest.md | 2 ++ .../src/autorest.md | 2 ++ .../src/autorest.md | 5 ++++ .../src/autorest.md | 17 ++++++++++++ .../src/autorest.md | 8 ++++++ .../src/autorest.md | 5 ++++ .../src/autorest.md | 3 +++ .../Azure.ResourceManager.Sql/src/autorest.md | 5 ++++ .../src/autorest.md | 4 +++ .../src/autorest.md | 3 +++ 23 files changed, 120 insertions(+) diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md index 2a8d79c8190ba..3153c0c55f08e 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/autorest.md @@ -14,6 +14,10 @@ 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/attestation/Azure.ResourceManager.Attestation/src/autorest.md b/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md index 3d400e29b0c75..e0867a569090b 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md +++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/autorest.md @@ -16,6 +16,8 @@ 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/billing/Azure.ResourceManager.Billing/src/autorest.md b/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md index 37e063ea5176b..268fc43333d00 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md +++ b/sdk/billing/Azure.ResourceManager.Billing/src/autorest.md @@ -15,6 +15,8 @@ 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/cdn/Azure.ResourceManager.Cdn/src/autorest.md b/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md index 11151f5daf6d1..3b415f712749d 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md @@ -13,6 +13,9 @@ 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/consumption/Azure.ResourceManager.Consumption/src/autorest.md b/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md index ccdeed3f89acd..b5a5b0eff0004 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md +++ b/sdk/consumption/Azure.ResourceManager.Consumption/src/autorest.md @@ -14,6 +14,32 @@ 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/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md b/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md index 25c454f977509..8741c679c3fcc 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/src/autorest.md @@ -13,6 +13,12 @@ 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/databox/Azure.ResourceManager.DataBox/src/autorest.md b/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md index cfab820c79e3e..8b77eecea1261 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md +++ b/sdk/databox/Azure.ResourceManager.DataBox/src/autorest.md @@ -14,6 +14,9 @@ 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/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index 8ccd0f0c2742f..c1b6733dae5d6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -15,6 +15,8 @@ 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/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md index ab840409e8f45..d3eba66cbbfc8 100644 --- a/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md +++ b/sdk/deploymentmanager/Azure.ResourceManager.DeploymentManager/src/autorest.md @@ -15,6 +15,8 @@ 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/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md b/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md index 113654dfe7232..aad6aff1a5dbf 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/autorest.md @@ -14,6 +14,14 @@ 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/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md index cde09d749a6b3..565688e6d773e 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/src/autorest.md @@ -14,6 +14,9 @@ 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/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md index 15047c9735827..63280397c73be 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/src/autorest.md @@ -15,6 +15,9 @@ 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/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md index 5aced8ff0f304..524ba33350b33 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/autorest.md @@ -14,6 +14,8 @@ 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/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md b/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md index 9cbd2ea187828..55d768dd7e840 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/src/autorest.md @@ -15,6 +15,8 @@ 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/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md index 401722906ae94..b7f431fe473ac 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/src/autorest.md @@ -14,6 +14,8 @@ 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/monitor/Azure.ResourceManager.Monitor/src/autorest.md b/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md index b06073aac5c38..a49770db3bd5f 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md +++ b/sdk/monitor/Azure.ResourceManager.Monitor/src/autorest.md @@ -14,6 +14,11 @@ 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/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md index e0efc3a98d127..e929f0148fe47 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/src/autorest.md @@ -15,6 +15,23 @@ 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/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md index ec896ec3709cc..ebac4e1a9f03e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md @@ -15,6 +15,14 @@ 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/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md index 213cb0ba70aba..0f9818305fa29 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/autorest.md @@ -14,6 +14,11 @@ 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/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md index 5cf77a8b7dace..5c1c5fc8ed81f 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/autorest.md @@ -14,6 +14,9 @@ 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/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md index 8305df0743b0d..71c10dba865dd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/autorest.md @@ -12,6 +12,11 @@ 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/synapse/Azure.ResourceManager.Synapse/src/autorest.md b/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md index 7387bd1fcbf39..06279e86bcf77 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md +++ b/sdk/synapse/Azure.ResourceManager.Synapse/src/autorest.md @@ -16,6 +16,10 @@ 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/workloads/Azure.ResourceManager.Workloads/src/autorest.md b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md index 9a7974a13ade6..fc61f511ff3c5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md @@ -14,6 +14,9 @@ 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 From cdcb7ceafc7d84d65a6b877364af2a359d13af2b Mon Sep 17 00:00:00 2001 From: Rodge Fu Date: Fri, 8 Sep 2023 22:01:02 +0800 Subject: [PATCH 6/6] temp remove samplegen config for services using batch config --- .../Azure.ResourceManager.DnsResolver/src/autorest.md | 1 + sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md | 3 --- .../Azure.ResourceManager.PostgreSql/src/autorest.md | 3 --- sdk/resourcemanager/Azure.ResourceManager/src/autorest.md | 3 --- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md index 70042f1f4ea09..158d572f90d23 100644 --- a/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md +++ b/sdk/dnsresolver/Azure.ResourceManager.DnsResolver/src/autorest.md @@ -10,6 +10,7 @@ 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 diff --git a/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md b/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md index 02689a3d11844..c04dff17cf435 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md +++ b/sdk/mysql/Azure.ResourceManager.MySql/src/autorest.md @@ -6,9 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true csharp: true clear-output-folder: true -sample-gen: - output-folder: $(this-folder)/../samples/Generated - clear-output-folder: true skip-csproj: true library-name: MySql diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md index b991bfed0d800..0804798d2b599 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md @@ -6,9 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true csharp: true clear-output-folder: true -sample-gen: - output-folder: $(this-folder)/../samples/Generated - clear-output-folder: true skip-csproj: true library-name: PostgreSql diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md index f33a9ebe4ca5c..31243977f2d4d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md +++ b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md @@ -6,9 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code. azure-arm: true arm-core: true clear-output-folder: true -sample-gen: - output-folder: $(this-folder)/../samples/Generated - clear-output-folder: true skip-csproj: true model-namespace: false public-clients: false